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>
  • Haunted House (Tyler / Howarth)I've spent a little time typing in the listings of [i]Haunted House[/i] from [i][url=http://www.worldofspectrum.org/infoseekid.cgi?id=2000424]Write Y…

    ... slightly to avoid errors when slicing strings). It would be nice at ...
    John Elliott John Elliott June 2014 Sinclair Basic
  • String slicing for UDG definitionHey everyone. Got a bit of a string slicing/string to variable conversion problem. 10 let a$="01100110" 20 let pokevalue=???? What expression do I…

    ... bit of a string slicing/string to variable conversion problem.

    BigBadMick BigBadMick April 2005 Development
  • Indirect Variable AssignmentHere's another wacky routine. This allows assignment of values to variables where the source & destination variables can themselves be defined in var…

    ... with both numbers & strings and both the source & ...
    So, for example, variable names can be constructed at ... it wrong will give "Undefined variable" or "Invalid argument" or ... 23698

    ;Indirect Variable Assignment
    ;PRINT USR indirect ...
    Battle Bunny Battle Bunny January 2012 Sinclair Basic
  • SpecBAS 0.743 Now available!Hey Guys - SpecBAS has been updated again. A shedload of bugs have been fixed, and a couple of "just for fun" commands have been added! You all sa…

    ... in DIM with fixed-length strings
    Fixed (Finally!) a bug ... /> Fixed a bug in string slicing with a literal string and ... brace is omitted in a variable subscript
    Fixed a small ...
    Dunny Dunny April 2012 Sinclair Miscellaneous
  • 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 basic ... variable definitions in the program.

    Atari basic employs string slicing ... basic performs string slicing and allows variably sized strings.

    Etc ...
    Alcoholics Anonymous Alcoholics Anonymous December 2007 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 …

    ... 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 ... of a lot of string slicing operations so I wonder if ...
    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 ... highly recommended.
    When a variable is not declared, the compiler ... memory allocation used in the strings code. It's a good ... of a lot of string slicing operations so I wonder if ...
    boriel boriel June 2008 Development
  • 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…

    ... fact that all the 22 strings I needed were exactly of ... string and did some string slicing as and when required during ... multi-dim array that requires variable length strings to be handled during ... 't care about multi-dim strings). It was hanging up earlier ...
    Arjun Arjun January 2009 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…

    ... variable function using this BASIC "swift copy" technique to copy strings ... 't handle string/RAM slicing, as that would need ... get rather cumbersome. For slicing it would be much neater ... up to two (optional) string variable definitions (destination & source ...
    Battle Bunny Battle Bunny April 2011 Sinclair Basic
  • SE Basic IV Buffy v4.1 source (WIP)I've been doing a major refactor on the SE Basic source and I'd appreciate a code review from anyone who has time to look at it. I've almost certainl…

    [code]; THE SCANNING VARIABLE ROUTINE
    org 0x26c9
    ... ; jump if numeric
    call slicing ; change parameters
    rst next_char ...
    chev chev October 2013 Development
  • SE Basic IV Buffy v4.1 source (WIP)I've been doing a major refactor on the SE Basic source and I'd appreciate a code review from anyone who has time to look at it. I've almost certainl…

    ... br /> pop de ; unstack variable pointer
    pop bc ... 6, c ; array of strings?
    jr nz, sv_elem_str ... br /> sv_slice:
    call slicing ; modify parameters

    variable?
    jr z, l_exists ; ...
    chev chev October 2013 Development
  • BASin Release 11 out nowBASin has been updated once again, for your BASIC programming pleasure! Get it at: [url="http://homepage.ntlworld.com/paul.dunn4/BASin_r11.exe"]htt…

    ... or remove tokenised keywords from strings. ie, if you type " ... context menu, BASin now support variable inspector tooltips. Hover your mouse ... containing a description of the variable, and it's contents.< ... will help with creating long strings which need to wrap ...
    Dunny Dunny November 2004 Emulators
  • ANNOUNCE: BASin Release 12 ready for downloadWell, after a rather large break, BASin's latest incarnation is ready for public use. Probably. BASin is a Sinclair Spectrum development environme…

    ...
    Character ruler for creating strings with perfect screen wrap
    variable.
    Token Table - shows a ...
    Dunny Dunny June 2005 Emulators
  • ANNOUNCE: BASin Release 12 ready for downloadWell, after a rather large break, BASin's latest incarnation is ready for public use. Probably. BASin is a Sinclair Spectrum development environme…

    ...
    Character ruler for creating strings with perfect screen wrap
    variable.
    Token Table - shows a ...
    Dunny Dunny June 2005 Sinclair Basic
  • 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…

    ... shared memory, and initialises a variable bl_ctrl to 1. It sleeps ... address spaces, so that the variable is not located in the ...
    wilsonsamm wilsonsamm December 2009 Chit chat
  • 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…

    ... make the RH-side variable names in a LET ... statement be themselves variable by using VAL$. Thus, ... [b]name[/b] of another variable, then:
    [b]LET ... assign the content of the variable named in v$.
    ... make the LH-side variable name in a LET statement ...
    Battle Bunny Battle Bunny October 2010 Sinclair Basic
  • For those that are interested: SpecBAS 0.0.601 available nowWith added bug fixes! This build allows you to PEEK and POKE strings to memory banks (for very fast movement of bytes in memory) and to send variable…

    ... you to PEEK and POKE strings to memory banks (for very ... a major rewrite of the variable handling, so there may be ...
    Dunny Dunny December 2010 Sinclair Miscellaneous
  • SpecBAS 0.646 now available.Yay! Here's another round of bugfixes and additions to the Program. Not so much of the extract coding features, but more back-to-basics this time: […

    ... with floating point values in strings.
    Editor marks - set a ... it into the specified string variable.
    The ITEM function - returns ... .
    Inline ascii characters in strings - represented by the # character:
    Dunny Dunny May 2011 Sinclair Miscellaneous
  • 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…

    ... mending this by putting a variable resistor on the wire that ...
    wilsonsamm wilsonsamm August 2011 Chit chat
  • SpecBAS 0.718 Now AvailableHi Folks! After an appreciable delay, the latest and (dare I say it?) greatest SpecBAS update is now available. We're moving into modern times with …

    ... can hold both values and strings. How? Well, like this!< ... call procedures based on a variable's contents.
    CALL ... These can be assigned to strings, with LET a$=STRUCT name ... value)].
    Access structures in strings using a "." to separate member ...
    Dunny Dunny January 2012 Sinclair Miscellaneous
  • SpecBAS 0.724 Now available!Hi folks - Again, a new SpecBAS for you. Some stunning bugs made their way into the last one, so I had to get a new version out sharpish. And for o…

    Hi folks -

    Again, a new SpecBAS for you. Some stunning bugs made their way into the last one, so I had to get a new version out sharpish. And for once, you windows folks are at the bleeding edge :)

    Anyhoo, new features are few ...
    Dunny Dunny January 2012 Sinclair Miscellaneous
  • SpecBAS 0.730 Now available!Well, I felt I should release SpecBAS as it is right now - my new son has been born (this one survived! \o/ ) and when he comes home I'll have very l…

    ... 't rely on state or variable information are interpreted at line ... /> Operators that can work on strings or numerics (+, =, , , > ...
    Dunny Dunny February 2012 Sinclair Miscellaneous
  • 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 …

    ...
    jp c,$1c2e ;"2 - Variable not found"

    inc ...
    Battle Bunny Battle Bunny February 2012 Sinclair Basic
  • SpecBAS 0.752 Now available!Ok, after the heroic efforts of ASH-II and Galileo finding as many bugs as they can, the result is a more stable and capable interpreter! Here's wha…

    ... index sizes
    Spaces in variable names are accepted now, but ... with mixed fixed-length and variable length strings in a structure
    Dunny Dunny August 2012 Sinclair Miscellaneous
  • A Miscellany of Dangerous TipsHere's a selection of ideas for using some of the more obscure system variables which I've found handy on occasion. They can be very convenient if us…

    ... this idea, a similar variable space can be assigned ... DIMmed strings), the solution is another handy-dandy system variable DATADD ... for reference in its variable space after the function ... return", held in system variable ERR_SP. Evaluating that address ...
    Battle Bunny Battle Bunny October 2012 Sinclair Basic
  • A 128 Routine to Put Tokens in StringsI was writing a DEF FN on the +128k and decided that I'd had enough of not being able to put function tokens in strings without a great palaver and s…

    ... to put function tokens in strings without a great palaver and ... be inserted as lower case strings in the DATA line with ...
    Battle Bunny Battle Bunny December 2012 Sinclair Basic
  • SpecBAS 0.766 Now available!HI Folks! Sorry for the lack of updates recently, but with a one-year-old son I'm not getting much time these days - that will improve later, I'm su…

    ... - send text output to a variable (OUT var$), a stream (OUT ... run through. Also works for strings - FOR EACH n$ IN ["a ...
    Dunny Dunny March 2013 Sinclair Miscellaneous
  • Storing strings in minimum spaceIn the game I am planning there will be a number of text strings. I am looking into different ways of encoding the strings so that they use the minim…

    ... be a number of text strings. I am looking into different ... ways of encoding the strings so that they use the ...
    Mr Millside Mr Millside June 2013 Development
  • quick RAM copy using LET in BASICI'm in the process of reviewing, revising and refining all the programming tips & utility routines which I've posted on this forum over the last eigh…

    ... 't tried it with string slicing yet, which was something the ... expression (if referencing a string variable) or an address (if referencing ... /> The function works with string slicing either side as well.
    Battle Bunny Battle Bunny July 2013 Sinclair Basic
  • display file addressing; screen slicingWhile working on this Compendium I'm updating or rewriting a lot of stuff. One thing I eventually came to appreciate was the simple & clever way in w…

    ... 've done a little screen slicing program in both assembler:
    slicing bit is only 10 statements ...
    Battle Bunny Battle Bunny July 2013 Sinclair Basic
<1234567…34>

Latest Posts

  • I am currently watching.....
    Paradigm Shifter on 12:49AM
  • New video about S-video modification on Issue two 48K Spectrum.
    Renegade on April 21
  • Fixed Speccy Software. And which games remained unfixed?
    John Elliott on April 21
  • Happy 40th Birthday to the Amstrad CPC464!
    rich_chandler on April 21
  • Another Birthday! The Game Boy Is 35!
    mel the bell on April 21
  • European Software Titles with an English version
    harriusherbartio on April 21
  • Elusive Strategy Games done by the Smaller or less Prolific Software Houses.
    harriusherbartio on April 21
  • 1992 Spectrum Software
    harriusherbartio on April 21
  • +3 Disk drive motor
    AndyC on April 21
  • Celebrity deaths...
    mel the bell on April 20

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