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.109s
<1…9101112131415…34>
  • I am currently watching.....This stems from a rant Mel did months ago on the currently listening to thread, and he suggested starting a thread like this to somebody (sorry can't…

    ... 446302]Haha there's a funny one of those I ... next day at a McDonalds waiting for a 14 year ... logs to show him? What a nutjob!

    ... would they have left a string of victims behind them?
    a few of his comedy dvds ...
    psj3809 psj3809 June 2010 Chit chat
  • +3 how to detect if a file exist ?Need help. I am making a generic menu to my compilations over the spectrum +3. Exist some way programatically to detect if some file exists on the d…

    ... (a slightly modified version of) USR 49050. The file name string referenced ... and select an entry in a string array is also covered in ... sent the other day. Using string arrays defined outside of BASIC ...
    Battle Bunny Battle Bunny June 2010 Sinclair Basic
  • Mel and Mile arrested[url]http://www.theregister.co.uk/2010/06/16/burger_van/[/url] Nice to see you making money from your hobby though :)

    ... /> although it was funny when a mate got his laptop.. he ... the sketch where PK had a piano key video and watching ... / video covers.. and remote on a string
    fog fog June 2010 Chit chat
  • Mel and Mile arrested[url]http://www.theregister.co.uk/2010/06/16/burger_van/[/url] Nice to see you making money from your hobby though :)

    ... the sketch where PK had a piano key video and watching ... / video covers.. and remote on a string[/QUOTE]

    PK?
    mel the bell mel the bell June 2010 Chit chat
  • What's on your saucer?Thanks go out to frobush and zx1 for inspiring* this WoSser to create a yet another excellent WoS thread. Lunch 10 minutes ago. [IMG]http://i300.ph…

    don't no one wear a vest? ive always worn a vest. when i get home i take off my work shirt, and i can just keep that on, instant casual.

    ive always lived in cold houses so maybe that the reason.

    and no its not a string vest.
    mile mile July 2010 Chit chat
  • Found an old tapeWay back in the 80's I wrote some basic (and later compiled basic) programs to hold character data for playing the fighting fantasy books. I tried fl…

    ... more interestingly, apparently I did a pass for error checking, ...


    Grabbing a string, not a number, and popping off to ... if it converts into a number, including a primitive on error trap ... that only because I put a copyright message on it! ...
    Gedlion Gedlion July 2010 MIA/STP/SDP
  • Seeking alternatives to DATA statementsAnyone know of any memory saving alternatives to storing a list of numbers, other than using DATA statements or poking data into addresses?... Im ti…

    ... the numbers in hexadecimal in a single string data statement would, I ... put them all together in a string data statement like that then ... for every decimal representation of a byte, for the program to ...
    ewgf ewgf August 2010 Sinclair Basic
  • Seeking alternatives to DATA statementsAnyone know of any memory saving alternatives to storing a list of numbers, other than using DATA statements or poking data into addresses?... Im ti…

    ... to store the data in a string variable present at LOAD time ... , as it wouldn't survive a RUN command.
    ajmoss ajmoss August 2010 Sinclair Basic
  • storing machine code in BASICApart from putting m/c above RAMTOP, which means that it has to be POKEd or LOADed separately after the BASIC program; or putting it in a REM, which …

    ... place the machine code in a string variable, the only variable defined ... robust enough to use with a BASIC program, but it will ...
    ajmoss ajmoss August 2010 Sinclair Basic
  • Seeking alternatives to DATA statementsAnyone know of any memory saving alternatives to storing a list of numbers, other than using DATA statements or poking data into addresses?... Im ti…

    ... pseudoHEX encoded bytes, stored in a string (a$)... Iv adapted that one liner ... ?!!

    2 LET A=5+PEEK 23635+256*PEEK ... encode each byte to a 2-chr string using something like this ... :


    FINAL CODE: A ...
    kgmcneil kgmcneil August 2010 Sinclair Basic
  • SpecOS progressOk, As you can all see, I'm back - and I've been working away on SpecOS for a while now. There's a few videos, which you can see on my blog: [url]h…

    ... , depending.
    ODD/EVEN take a numeric and return 1 (true ... /> POS returns the position in a string of a substring - POS("e","hello ...
    Dunny Dunny August 2010 Sinclair Miscellaneous
  • SpecOS progressOk, As you can all see, I'm back - and I've been working away on SpecOS for a while now. There's a few videos, which you can see on my blog: [url]h…

    [QUOTE=Dunny;471349]
    POS returns the position in a string of a substring - POS("e","hello") returns 2.

    D.[/QUOTE]

    Does that work with POS("mint","polomint") ?

    Can it match a string instead of a char?
    polomint polomint August 2010 Sinclair Miscellaneous
  • SpecOS progressOk, As you can all see, I'm back - and I've been working away on SpecOS for a while now. There's a few videos, which you can see on my blog: [url]h…

    [QUOTE=polomint;471350]Does that work with POS("mint","polomint") ?

    Can it match a string instead of a char?[/QUOTE]

    You could always y'know... try it and see?

    D.
    Dunny Dunny August 2010 Sinclair Miscellaneous
  • 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. …

    ... frustrating that once a sting is moved to a string array it ... />
    [CODE]100 LET a$="PADDY"
    110 PRINT LEN ... /> 130 LET b$(1)=a$
    140 PRINT LEN ... />
    [CODE]100 LET a$="PADDY"
    110 PRINT LEN ... LET b$(1)=CHR$(LEN a$)+a$
    140 PRINT CODE ...
    Paddy Coleman Paddy Coleman September 2010 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. …

    ... world). This one will reverse a string.

    [CODE]110 DIM ... Parms
    120 INPUT "Enter string: "; LINE p$
    125 PRINT ...
    Paddy Coleman Paddy Coleman September 2010 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. …

    ... world). This one will reverse a string.

    [CODE]110 DIM ... Parms
    120 INPUT "Enter string: "; LINE p$
    125 PRINT ... , this can be done with a recursive function in BASIC.
    Dr BEEP Dr BEEP September 2010 Sinclair Basic
  • storing level datahi everyone im using arrays to store level data. its not working. just to set up the walls takes an array of size 92*2 is there a better way?

    got it to work and im going to replace with a string array like you lot said :)
    Thanks
    Robin Robin September 2010 Development
  • storing level datahi everyone im using arrays to store level data. its not working. just to set up the walls takes an array of size 92*2 is there a better way?

    ... im going to replace with a string array like you lot said ... to save memory. As with a lot of things in life ... it is a balance.

    Enjoy!
    Paddy Coleman Paddy Coleman September 2010 Development
  • SpecOS progressOk, As you can all see, I'm back - and I've been working away on SpecOS for a while now. There's a few videos, which you can see on my blog: [url]h…

    ... to the start of such a string, a command to rotate everything... You ... to then design a whole screen map from a string, and then simply ... rotate the lot with a simple ... character or two added to the string...
    kgmcneil kgmcneil September 2010 Sinclair Miscellaneous
  • SpecOS progressOk, As you can all see, I'm back - and I've been working away on SpecOS for a while now. There's a few videos, which you can see on my blog: [url]h…

    ... .

    Strings are a string ID byte followed by 4byte ... with either a numeric marker or a string marker, followed by a 4byte ... to the start of such a string, a command to rotate everything... ... to then design a whole screen map from a string, and then ...
    Dunny Dunny September 2010 Sinclair Miscellaneous
  • Location of variableHi everyone When basic makes an array how to you find out the location in the ram of where the data is stored. :) Also, does it store the values in…

    ... searches the VARS area for a named string array. It checks for ... from memory in BASIC is a bit tricky.

    [code ... p(a)=PEEK a+256*PEEK (a+1)

    3000 REM FIND A STRING ... e=5 THEN
    FOR a=i+1 TO FN p ...
    Battle Bunny Battle Bunny September 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…

    ... side variable names in a LET statement be themselves ... v$[/B]
    for a string, or:
    [B] ... v$"[/B]
    for a number, will assign the ... side variable name in a LET statement be variable ... 3 INPUT A$
    4 LET A{A$}=A{A$} = A{A$} +1 ; REM A$="A" or " ...
    Dr BEEP Dr BEEP October 2010 Sinclair Basic
  • Sorting an array...Hi Folks, Over the weekend I had a play with sorting algorithms - takes me back to my student days! :-o My first try was with the good old Bubble S…

    ... simply uses the b$ (swap string) as the flag. This makes ... ,

    May I give a suggestion about measuring these results ... better to repeat the executions a few times (for instance using ... the loop with a string would be faster than a numeric flag. Indeed ...
    Einar Saukas Einar Saukas October 2010 Sinclair Basic
  • Sorting an array...Hi Folks, Over the weekend I had a play with sorting algorithms - takes me back to my student days! :-o My first try was with the good old Bubble S…

    ... br />
    May I give a suggestion about measuring these results ... better to repeat the executions a few times (for instance using ... that only works better for a certain choosen sequence, but ... the loop with a string would be faster than a numeric flag. Indeed ...
    JamesD JamesD October 2010 Sinclair Basic
  • Print text in assemblyHello, a perhaps simple question: I would like to print a text string on the screen and I wonder how to do that in the most easy way? I seem to re…

    ... in a loop to print a full string. Alternatively, there's a 'print string' routine ... at 0x203C which takes a string ... address in DE and a ...
    gasman gasman October 2010 Development
  • ZX BASIC and garbage collection...Hi Folks, I was thinking about using the following approach in a program I am writing: [CODE]DIM d$(100,50) LOAD "NAMES" DATA d$() ... DIM d$(50,25…

    ... /> a$="a very long string-a very long string-a very long string-a very long string-a very long string-a ... very long string-a ...
    Jonathan Harston Jonathan Harston November 2010 Sinclair Basic
  • ZX BASIC and garbage collection...Hi Folks, I was thinking about using the following approach in a program I am writing: [CODE]DIM d$(100,50) LOAD "NAMES" DATA d$() ... DIM d$(50,25…

    ... used to form a statement or as a direct command. LOAD ... a filename, which is a string value, followed by DATA and a letter or a ... letter and $, and finally by a pair ... that with character arrays, any string variable currently in memory having ...
    jp jp November 2010 Sinclair Basic
  • Why doesn't my loop work?Can anyone help me understand why my loop doesn't work? Is it to do with how DEC HL affects the flags? [code] ; Read 32k bytes from port 191 as fa…

    ... do repetitive I/O on a Z80 (without resorting to additional ... hardware like a DMA controller).

    ... buffer with INI instructions (and a RET / JP or something at ... and INIR.

    Will a string of 256 INI instructions be ...
    trellis trellis December 2010 Development
  • Why doesn't my loop work?Can anyone help me understand why my loop doesn't work? Is it to do with how DEC HL affects the flags? [code] ; Read 32k bytes from port 191 as fa…

    ... and INIR.

    Will a string of 256 INI instructions be ... faster than a single INIR instruction?[/QUOTE]
    Dr BEEP Dr BEEP December 2010 Development
  • Why doesn't my loop work?Can anyone help me understand why my loop doesn't work? Is it to do with how DEC HL affects the flags? [code] ; Read 32k bytes from port 191 as fa…

    [QUOTE=Dr BEEP;499310]See [URL]http://www.z80.info/z80time.txt[/URL][/QUOTE]
    That list has quite a few errors, for example there exist no
    RetroTechie RetroTechie December 2010 Development
<1…9101112131415…34>

Latest Posts

  • Happy 40th Birthday to the Amstrad CPC464!
    dmsmith on 12:41AM
  • i am currently listening to........
    dmsmith on April 15
  • I am currently watching.....
    zx1 on April 15
  • Fixed Speccy Software. And which games remained unfixed?
    harriusherbartio on April 15
  • Cooperative Games.
    harriusherbartio on April 15
  • Celebrity deaths...
    mel the bell on April 15
  • Minor British Sports that did become games on the ZX Spectrum
    dm_boozefreek on April 15
  • Elusive Strategy Games done by the Smaller or less Prolific Software Houses.
    harriusherbartio on April 15
  • Inside No.9 favourite episodes
    Maroc's Other Projection on April 15
  • How we became brainwashed by social media
    Scottie_uk on April 15

HitBox

Word Docs Hits
reorder 45 49
a 589.5K 1.7M
string 2.8K 5.1K

Related Threads

  • im looking for a basic routine that adds a numerical character to a stringim looking for a basic routine that adds a numerical character to a string. so a=1, "1", then a=0 "10", then a=1 "101......" and so on
  • How to separate a character from a number in a string?Hi <br /> I've been writing a kind of logo type program in BASIC that takes a string a$ from INPUT and then draws according to what you give it. Say…
  • A Spectrum, a couple of felt tip pens and a lot of free time on Sunday afternoons...In my opinion the best part of having a Spectrum was drawing a game map of the latest Ultimate game in the back page of my geography text book thereb…
  • I NEED A HAND FINDING A 3D CHESS GAME......WITH A HAND IN ITOk.Firstly - It's not one of the chess games in the archive with the word chess in the title.<br /> ##(Although - The ChessMaster2000 LOOKS very fami…
  • HELP!!! i need help turning a .wav files into a .tzx. im a new beginnerhi there. i hope anyone doesnt think im thick or owt but im having trouble in find the right program or the know how to convert all my 8bit mono .wav…
  • Free to a good home - Anyone in South Wales want a pile of Spectrum Games and a +3?Bit of an emergency - I'm moving out in a hurry and I don't have time to sell these!<br /> <br /> Is there anyone in South Wales who wants a fairly b…
  • A clever method of using a single 8-bit register to be used for two things at a timeI don't know if this is the way the SAVE routine in the Spectrum works. Anyway, this is what I've learned today.<br /> <br /> I've been commented the…
  • Overflow Detection while Scanning a Number from a StringI've got some strange behaviour from a subroutine that reads a number from a string and converts it to a 32-bit long. It's C's strtol if it helps to…
  • Sinclair QL: I'm searching for a Gold Card (or better a Super Gold Card) and a Super HermesIf someone here want to sell his Super Gold Card and Super Hemes I'm a big collector of QL stuff and I will pay very very well.<br /> <br /> Very tha…
  • Trying to find a magazine entry for a program I wrote as a child!Hi, <br /> <br /> Back when I was a child I wrote a program called "milkround" that we published in either your spectrum, your sinclair or sinclai…

Related Searches

  • print a char in asm
  • divmmc 3 a
  • testing a microdrive
  • create a batch file screen
  • change a letter
  • is there a system test for the spectrum
  • is there a system test tape for the spectrum
  • how to do a tzx file
  • how to create a tzx file
  • how to make a tzx file
  • composite screen goes yellow after a while
  • screen goes yellow after a while
  • validate input is a number
  • not a number
  • if input is not a number
  • inputting to a string array
  • detect a word string on the screen
  • colors in a string
  • attributes in a string
  • reverse a string

Copyright © 2024 World of Spectrum