World of Spectrum
  • Categories
  • Discussions
  • FAQ
  • Sign In
Home › Search
Title Search
@title beer Word 'beer' in title
User Search
  • @user admin Only posts by Admin
Text Search
  • @body beer Word 'beer' in the text
Phrase Search
"Hello World" Exact phrase match
Exclude Terms
  • car -red Search cars that are not red
"Or" Searches
  • honda | bmw 'honda' or 'bmw' results
Multi-Field
@(title,body) hello Both contain 'hello'
WildCard
  • hond* civ* Match all with an astrix
Combination
  • @title bmw @user admin
See more supported syntax examples
Search Again :: Adv Search 1000 results in 0.007s
<1234567…34>
  • Need some help making a BASIC gameI'm creating a text adventure in 128 BASIC (I don't like using the 'keywords' in 48 BASIC - It's slow and annoying!) called "The Legend of The Red Dr…

    ... the input words to the strings in this array and then ...
    REM tokenparser sets index variable command
    GOSUB commandhandlers + command ...
    cyborg cyborg November 2004 Sinclair Basic
  • Cool BASIC tricks and tips!Following on from Dunny's excellent suggestion of a compendium of BASIC tips + tricks, I believe it would be better to have a topic dedicated to it. …

    This one will work for strings of any length, it scrolls ... /> [/code]

    The system variable 'SCR CT' is stored at ...
    Colin Williams Colin Williams April 2005 Sinclair Basic
  • You all know this, right?Type 10 PRINT "DIXONS IS SHIT" 20 GOTO 10 RUN when it says: Scroll? Press BOTH SHIFT KEYS then ENTER see what you get. I want to know what thi…

    Yep, I just tried it.
    ?=23
    ?=8
    There is still no distinction between lower and upper case, so ?=?.
    Strings work too, as do longer variable names.
    ?$="Hej?"
    ??=5
    wilsonsamm wilsonsamm July 2005 Sinclair Basic
  • Speeding up BasicHi, Does anyone know whether it is faster to use variables than numbers in Sinclair basic? What I mean for example, is Poke A,D quicker than Poke 5…

    ... pointers for integers, floats and strings and separate pointers for each ... a search for the 100th variable must sift through 99 unwanted ... could get to the 100th variable in one or two lookups ...
    Geoff Geoff July 2005 Sinclair Basic
  • z88dk+splib2 sprites question.I'm creating a game and I have several "states" for my main sprite, such as jump, facing left, facing right, etcetera. All those states require a dif…

    ... function which would draw a variable-sized static tile (i.e ... large tiles from sp_PrintString strings. These strings can contain control codes ... print these "large tile" strings at any point on screen ... tiles to build these tile strings from...

    - ...
    Alcoholics Anonymous Alcoholics Anonymous October 2005 Development
  • Draft specs for TZX v1.20Hi all! In the attempt to restart the development of the TZX format, I've put online the first version of the draft document [1]. At the moment ther…

    ... row of the table. Binary strings are parsed from left to ... think we should move the variable-length fields (sync table and ...
    Luca Luca November 2005 Emulators
  • +3e file manager program/projectFirstly let's get one thing sorted. This program/project is written entirely in basic, as I am a lamo who doesnt know enough M/C. It really Is'nt th…

    ... parts to the user input strings. Basicaly you should be able ... to the string into the variable [B]l[/B]. Then you ...
    glancaster glancaster April 2006 Sinclair Basic
  • If a C64 can do it...Forgive me if this isn't the right section. We've seen coders surprising us over and over again with excellent demos and things that a few years ago…

    ... libraries in Spectrum C implementations. Strings in basic consist of a ... stored at some address. C strings are just a list of ... value (a copy of the variable passed to a function is ... sent not the variable itself), the notion of how ...
    Alcoholics Anonymous Alcoholics Anonymous March 2007 Development
  • Speed of variables vs. POKE/PEEKGreetings, I'm sure I could probably find this out after careful study of the 48K ROM disassembly, but I was wondering whether someone already knew …

    ... over? Or does the variable get trashed from the list ... matter when you define your variable (beginning of the program, ... because whenever you REASSIGN a variable, it puts it back to ... an optimisation issue then strings which are variable length.

    ...
    BloodBaz BloodBaz March 2007 Sinclair Basic
  • Speed of variables vs. POKE/PEEKGreetings, I'm sure I could probably find this out after careful study of the 48K ROM disassembly, but I was wondering whether someone already knew …

    ... correct? Does Line 30 shift variable "a" back to the top ... whatever else happens, if simple variable 'a' is defined first it ... end of the list. Substituted strings always have their new version ... numeric variables, arrays and other strings to find it.
    A ...
    Geoff Geoff March 2007 Sinclair Basic
  • Speed of variables vs. POKE/PEEKGreetings, I'm sure I could probably find this out after careful study of the 48K ROM disassembly, but I was wondering whether someone already knew …

    ... 10 and 20 show a variable table containing { a$ }
    ... a variable table containing { [b]b$, a$[/b] }

    Clearly, strings ... a number as a FOR variable (which has to contain additional ... with BASIC variables - ones a variable is defined it will never ...
    BloodBaz BloodBaz March 2007 Sinclair Basic
  • How to install fuse in Ubuntu? Warning: Newbie trying to escape from MicrosoftThe title says everything. I have downloaded and decompressed fuse-0.8.0.tar.gz and I don't know what to do. Synaptic doesn't have fuse, and I haven'…

    ... h... yes
    checking for strings.h... yes
    checking ... .h... no
    checking for strings.h... (cached) yes
    ... , or set the GTK_CONFIG environment variable to the
    *** full ... , or set the GLIB_CONFIG environment variable to the
    *** full ...
    cid cid April 2007 Emulators
  • Project: M.u.l.e.Wokani came up with a great idea about trying an open-development approach for spectrum games, and I thought why not try with a game I have under dev…

    ... functions for converting numbers to strings, strings to numbers, generating random ... br /> When you declare a variable of some type, the compiler ... of something. A pointer variable needs two bytes of ... [/code]

    The variable "s" holds the address of ...
    Alcoholics Anonymous Alcoholics Anonymous June 2007 Development
  • Project: M.u.l.e.Wokani came up with a great idea about trying an open-development approach for spectrum games, and I thought why not try with a game I have under dev…

    ... /> [/code]

    are special variable declarations unique to z88dk. A ... /wiki/doku.php/library:string"]strings[/URL] library; we'll see ... string message to print (remember strings in C are a list ... zero. Recall that all C strings end in a zero byte ...
    Alcoholics Anonymous Alcoholics Anonymous June 2007 Development
  • Project: M.u.l.e.Wokani came up with a great idea about trying an open-development approach for spectrum games, and I thought why not try with a game I have under dev…

    ... standard C function strtok() in strings.h should come to mind ... have now is several C strings contained inside the original string ... the help of the system variable CHARS as we did in ...
    Alcoholics Anonymous Alcoholics Anonymous July 2007 Development
  • Project: M.u.l.e.Wokani came up with a great idea about trying an open-development approach for spectrum games, and I thought why not try with a game I have under dev…

    ... know that on the Spectrum strings are stored in RAM so ... of code and constants (including strings) that is destined for a ... memory address as a pointer variable can. You can index in ... ++ because s2 is not a variable that can be incremented; it ...
    Alcoholics Anonymous Alcoholics Anonymous July 2007 Development
  • Project: M.u.l.e.Wokani came up with a great idea about trying an open-development approach for spectrum games, and I thought why not try with a game I have under dev…

    ... the equivalent :) The basic string slice operation creates a new temporary ... you may want a temporary variable to hold that value if ...
    Alcoholics Anonymous Alcoholics Anonymous July 2007 Development
  • Project: M.u.l.e.Wokani came up with a great idea about trying an open-development approach for spectrum games, and I thought why not try with a game I have under dev…

    ... including level, current round, global variable pool, etc
    [*][B ... contains the actual code and variable space allocations, whereas the ... making space for the variable, just informing the compiler ... that in C all strings are sequences of ascii characters ...
    Alcoholics Anonymous Alcoholics Anonymous July 2007 Development
  • Project: M.u.l.e.Wokani came up with a great idea about trying an open-development approach for spectrum games, and I thought why not try with a game I have under dev…

    ... -known function "memcpy()" from the strings.h library is used to ... colour only into the global variable "g_uchar0". You may recognize the ...
    Alcoholics Anonymous Alcoholics Anonymous September 2007 Development
  • Oneliner contestHello to you all, I dare you to make a program on 1 BASIC line. Here is the place to sent your ONELINERS [url]http://www.zxspectrum.00freehost.co…

    ... . Both could be replaced by strings with the text hidden as ... logic is currently performed by variable assignments that control the game ... into table lookups encoded into strings. This way, we could implement ...
    Einar Saukas Einar Saukas October 2007 Development
  • Benchmark timeWell, the BASIC benchmark posted in Creative Computing back in the 80s came up as a topic on the AtariAge forums. The article is available online an…

    ... when it becomes cluttered by variable definitions and redefinitions. Sinclair ... this cost over all variable definitions in the program.< ... less useful by only allowing strings to be fixed size ... slicing and allows variably sized strings.

    Etc, etc, ...
    Alcoholics Anonymous Alcoholics Anonymous December 2007 Sinclair Basic
  • Probing the variables in 128K modeHello again! Briefly, I'm writing an m/c routine to read some BASIC variables. So, before I start, I try to get an idea for the structure of how var…

    ... a routine to print the variable t$ on the screen but ... type the magazine page text strings into DATA statements without worrying ... to pick out a specific variable. There's a lot of ...
    Digital Prawn Digital Prawn March 2008 Development
  • Project: M.u.l.e.Wokani came up with a great idea about trying an open-development approach for spectrum games, and I thought why not try with a game I have under dev…

    ... in player.c. The global variable "g_uchar0" is used to keep ... to follow by now. The strings containing the scores contain some ... the buried "\xHH" in the strings. See d_print() in display.c ...
    Alcoholics Anonymous Alcoholics Anonymous April 2008 Development
  • A BASIC compiler projectHi, I started my own BASIC compiler for the ZX Spectrum (and Z80 machines) 3 months ago. It's still in ALPHA stage (when it is mature, I will write …

    ... being you have to specify variable types. This might introduce some ... the compiler could infer the variable types from the source listing ... memory allocation used in the strings code. It's a good ...
    Alcoholics Anonymous Alcoholics Anonymous June 2008 Development
  • A BASIC compiler projectHi, I started my own BASIC compiler for the ZX Spectrum (and Z80 machines) 3 months ago. It's still in ALPHA stage (when it is mature, I will write …

    ... being you have to specify variable types. This might introduce some ... the compiler could infer the variable types from the source ... highly recommended.
    When a variable is not declared, the compiler ... memory allocation used in the strings code. It's a good ...
    boriel boriel June 2008 Development
  • A BASIC compiler projectHi, I started my own BASIC compiler for the ZX Spectrum (and Z80 machines) 3 months ago. It's still in ALPHA stage (when it is mature, I will write …

    ... -size blocks with C strings implemented in procrustean manner ... in Basic is different -- strings are regularly tossed away and ... reassigned with new strings of very different lengths. ... each variable changes. But you're saying you also handle strings ...
    Alcoholics Anonymous Alcoholics Anonymous June 2008 Development
  • A BASIC compiler projectHi, I started my own BASIC compiler for the ZX Spectrum (and Z80 machines) 3 months ago. It's still in ALPHA stage (when it is mature, I will write …

    ... fixed-size blocks with C strings implemented in procrustean manner ... in Basic is different -- strings are regularly tossed away and ... each variable changes. But you're saying you also handle strings in ... it's considered a local variable (and freed on exit) ...
    boriel boriel June 2008 Development
  • CSSCGC 2008 has now officially begunFor coming last in the 2007 crap game compo, I have the honour and privilege of hosting CSSCGC 2008! I have now put up the CSSCGC 2008 website at …

    ... in Sinclair Basic terms! DATA strings don't need quotes around ... quite a few two letter variable names in the code - I ...
    Digital Prawn Digital Prawn August 2008 Games
  • BASin r14d - Final bugfix for the r14 seriesOk, there's not a great deal to "show" here, as most of the work has been going on "under the hood" so to speak. And there's been a [i]lot[/i] of wor…

    ... text using the current CHARS variable - and when the 128k ROM ... set :-)

    This affects strings, not BASIC text. I can ...
    Dunny Dunny December 2008 Emulators
  • Trouble compiling my BASIC programI've been trying to get a compiled BASIC version of Swift Turtle with no luck so far! I first tried MCoder 3 and it [i]seemed[/i] to compile the prog…

    ... to READ in multiple strings for a variable declared as a single ...
    Arjun Arjun January 2009 Sinclair Basic
<1234567…34>

Latest Posts

  • European Software Titles with an English version
    harriusherbartio on 9:50AM
  • Cooperative Games.
    harriusherbartio on 9:27AM
  • Happy 40th Birthday to the Amstrad CPC464!
    zx1 on 9:02AM
  • i am currently listening to........
    Paradigm Shifter on 12:26AM
  • Celebrity deaths...
    mel the bell on April 16
  • LONELY TZX files : software TZX'd on the online sites with NO ASSOCIATED DOCUMENTATION
    harriusherbartio on April 16
  • How we became brainwashed by social media
    Antiriad2097 on April 16
  • How Do You Categorize Your Speccy Software and Games?
    Antiriad2097 on April 16
  • Fixed Speccy Software. And which games remained unfixed?
    harriusherbartio on April 16
  • I am currently watching.....
    zx1 on April 15

HitBox

Word Docs Hits
slice 471 546
strings 1K 1.4K
variable 2.8K 4.2K

Related Threads

  • variable variable names with VAL$It's possible to make the RH-side variable names in a LET statement be themselves variable by using VAL$. Thus, if v$ holds the [b]name[/b] of anothe…
  • Character set variableCan anybody help me?<br /> I'm trying to find out where the pointer to the ascii character set is.<br /> I remember that if you wanted to change the …
  • I forgot which system variable I need...... to prevent the message 'start tape, then press any key'. I saw the system variables list but it's not helping. I know I used one poke to bypass t…
  • CHANS system variableI modified my original code to incorporate Woody's changes and avoid using the stack:<br /> <br /> [code]<br /> org 60000<br /> <br /> save_register…
  • A little slice of undocumented Sinclair historyHi, I'm incog, I dump computers/consoles for emulation in [URL="http://mess.org"]MESS[/URL].<br /> <br /> Recently I found a machine I had never hear…
  • How do I know where my C compiler is putting my variable?Let me show you my code. I am writing a Z80 emulator (z80.c) which sets up a bit of shared memory for communication with another process. Well, I got…
  • Location of variableHi everyone<br /> <br /> When basic makes an array how to you find out the location in the ram of where the data is stored. :)<br /> <br /> Also, doe…
  • Variable resistorI have a problem with my speakers - the treble is much much too quiet in comparison to the bass. Or you could say, the bass is much to loud for the r…
  • Indirect Variable AssignmentHere's another wacky routine. This allows assignment of values to variables where the source &amp; destination variables can themselves be defined in…
  • editing strings with INPUT LINEHere's the latest in my unpredictable series of utility routines. This one I needed for the SAGE game editor; it emulates INPUT LINE l$ but with the …

Related Searches

  • variable list
  • dim variable size
  • scroll system variable
  • issue 2 variable
  • replacement variable capacitor
  • replace variable resistor
  • draw basic third variable
  • draw third variable
  • draw third variable geoff
  • assembly forgot variable
  • assembly variable
  • basic variable clear
  • opt variable
  • agd opt variable
  • compare strings
  • compare strings z80
  • variable width scrol
  • slicing strings variable
  • variable lngth strings
  • strings stored in variable area

Copyright © 2024 World of Spectrum