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.004s
<1234567…34>
  • What did Spectrum BASIC lack (and was BBC BASIC so good?)Over the years, I've read in various multi-format magazines, that BBC BASIC was probably the best BASIC available on an 8-bit machine. I've never use…

    ... to declare them using special variable names to indicate them.
    slicing, syntax checking on line entry ...
    Alcoholics Anonymous Alcoholics Anonymous September 2007 Sinclair Basic
  • What did Spectrum BASIC lack (and was BBC BASIC so good?)Over the years, I've read in various multi-format magazines, that BBC BASIC was probably the best BASIC available on an 8-bit machine. I've never use…

    ... to declare them using special variable names to indicate them.
    slicing, syntax checking on line entry ...
    na_th_an na_th_an September 2007 Sinclair Basic
  • 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
  • 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
  • Trying to read in a list of items from DATA statementsThus far I have: data "cherry","apple","banana","grape","orange" But when I read it in using this: FOR X=1 TO 5: READ n$(X): NEXT X It only reads…

    ... syntactially like an array of strings in other BASIC dialects ... 1D array of fixed length strings in Sinclair basic. (or ... slicing is performed by a ( TO ) operator.

    Arrays of strings ... help section. The section on strings is very comprehensive, I ...
    Digital Prawn Digital Prawn May 2008 Sinclair Basic
  • 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…

    ... the compiled code - expansion of strings will be fun with this ... .

    How should string slicing be handled? How about numbers ...
    Dunny Dunny December 2008 Emulators
  • 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
  • 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 ...
    Dr BEEP Dr BEEP January 2009 Sinclair Basic
  • 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 ...
    Matt_B Matt_B January 2009 Sinclair Basic
  • 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…

    ... multi-dim array that requires variable length strings to be handled during ...
    Dr BEEP Dr BEEP January 2009 Sinclair Basic
  • Best way to store vector images in Sinclair BASIC?Let's forget for a moment that Sinclair BASIC is slow. If I have a picture made entirely of vector images, what would be the best way to store that d…

    ... solved if we use string slicing and string manipulation instead of ... MC routine in some string variable and after basic's autostart ...
    omega omega May 2009 Sinclair Basic
  • Z80 compressorIs there one available? Is it any good? Peeps have been suggesting we should look into this, so here's a new thread! I'd do the compressor on the …

    ... basically C code and have variable names like hl, bc, de ... also look to include short strings of bytes (e.g. treating ... you encode varying lengths of strings of bits? Or is this ...
    joefish joefish February 2010 Development
  • Arrays in asm ?Just following the idea to make the menu entirely in asm, how can i handle arrays in asm to store the each game loader to be loaded ? thx in advance

    ... data; especially given your strings may have a variable length. For example ... list of addresses)
    * the strings themselves

    For ... example, imagine we have three strings: "Mary had", "a little ... a fit". They are of variable length, so you may want ...
    Winston Winston June 2010 Sinclair Basic
  • BITWISE operators...Hi Folks, Another question - is there a way (fast) to do bitwise operations in Sinclair BASIC? Many thanks Paddy

    ... functions for storing numbers as strings in the DEF FN article ... powerful expression evaluation and string slicing of Sinclair BASIC and many ...
    chev chev August 2010 Sinclair Basic
  • 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…

    ... ]the programmer[/i] knows the variable names when writing the program ... [/i] you need run-time variable assignment.

    Common ... the program is initialised the strings are set by reading them ... net/System/Library/BLib/Docs/Variable.txt]mdfs.net[/url].)
    Jonathan Harston Jonathan Harston October 2010 Sinclair Basic
  • Arrays in Spectrum basicHi everyone, I've recently begun learning to programme in Spectrum and want to write a text adventure. Could someone give me an example or help me o…

    ... assigned and that memory is variable depending on the length of ... ) a 8x8 array of strings of variable length, usually 255 max length ...
    Geoff Geoff November 2010 Sinclair Basic
  • SpecBAS: Request for comment - SpritesHi all - Having been slaving away at the new SpecBAS release, I've decided to finally bite the bullet and implement a sprite engine. I've got a nice…

    ... allowed to pass a string variable for the gfx$ parameter) or ... are stored as bytes in strings (A$.MyStructElement style).

    Dunny Dunny January 2011 Sinclair Miscellaneous
  • Copying a SCREEN$ in ZX BASIC in 1 second?!Following on from the revived "[thread=20207]Saving a complete SCREEN$ in BASIC[/thread]" thread (although Arjun really only needed a suitable POKE i…

    ... of binding a BASIC string variable to any user-specified address ... length.

    The string slicing feature of BASIC using ( TO ...
    Digital Prawn Digital Prawn April 2011 Sinclair Basic
  • Copying a SCREEN$ in ZX BASIC in 1 second?!Following on from the revived "[thread=20207]Saving a complete SCREEN$ in BASIC[/thread]" thread (although Arjun really only needed a suitable POKE i…

    ... called from Scanning Variable which will call Slicing if it ... * For the LH destination variable LOOK-VARS is called from ... handling which will call Slicing from Stack Variable.

    However ... , if the LH destination variable was found in the DEFADD ...
    Battle Bunny Battle Bunny April 2011 Sinclair Basic
  • Copying a SCREEN$ in ZX BASIC in 1 second?!Following on from the revived "[thread=20207]Saving a complete SCREEN$ in BASIC[/thread]" thread (although Arjun really only needed a suitable POKE i…

    ... called from Scanning Variable which will call Slicing if it ... * For the LH destination variable LOOK-VARS is called from ... handling which will call Slicing from Stack Variable.

    However ... , if the LH destination variable was found in the DEFADD ...
    Paddy Coleman Paddy Coleman April 2011 Sinclair Basic
  • Storing and displaying attributes...Hi Folks, I have a requirement to store and then redisplay a line of attributes from the screen. For example: 100 DIM a$(1,32) 110 LET line=10 120…

    A$ is a pseudo-variable; it doesn't take up ... , both the source & destination strings can be pseudo-variables. I ...
    Battle Bunny Battle Bunny June 2011 Sinclair Basic
  • Storing and displaying attributes...Hi Folks, I have a requirement to store and then redisplay a line of attributes from the screen. For example: 100 DIM a$(1,32) 110 LET line=10 120…

    ... ;540717]A$ is a pseudo-variable; it doesn't take up ... , both the source & destination strings can be pseudo-variables. I ...
    Fikee Fikee June 2011 Sinclair Basic
  • Storing and displaying attributes...Hi Folks, I have a requirement to store and then redisplay a line of attributes from the screen. For example: 100 DIM a$(1,32) 110 LET line=10 120…

    ... ;540717]A$ is a pseudo-variable; it doesn't take up ... , both the source & destination strings can be pseudo-variables. I ...
    Paddy Coleman Paddy Coleman June 2011 Sinclair Basic
  • Drawing a "window"...Hi Folks, I want to display a blank window over an existing screen. It then draws a border around it but that is not the point of my question. Ini…

    ... (or at least, the larger strings). This program would MERGE the ... the lines that generates the strings except the MERGE line itself ... your (new) program. The strings will be there, but there ... array with the strings. But accessing a single string variable might be ...
    mcleod_ideafix mcleod_ideafix June 2011 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
slicing 122 155
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 …
  • String slicing for UDG definitionHey everyone.<br /> <br /> Got a bit of a string slicing/string to variable conversion problem.<br /> <br /> 10 let a$="01100110"<br /> 20 let pokeva…
  • 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…
  • 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
  • slicing string variable
  • slice strings variable
  • variable lngth strings
  • strings stored in variable area

Copyright © 2024 World of Spectrum