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.002s
<1…14151617181920…34>
  • 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 read the next two chr$}

    Let B=CODE ... ; It avoids listing chr$ It avoids listing chr$>162
    c ... > It avoids listing chr$ "\"
    d> All the ...
    kgmcneil kgmcneil 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…

    ... each byte to a 2-chr string using something like this ...
    kgmcneil kgmcneil August 2010 Sinclair Basic
  • Adventure Gamebook Solver"It would take me ages to solve that adventure gamebook without AGES" - is what someone might say if they didn't have the [url=http://www.users.globa…

    ... (ns)=ez THEN LET e$=CHR$ 16+CHR$ 5+"CIRCULAR REFERENCE": GO ...
    Battle Bunny Battle Bunny August 2010 Announcements
  • 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…

    ... , INT, SQR, SGN, ABS, STR$, CHR$, NOT, OR, AND, MOD
    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. …

    ... right ROM-pattern to a CHR.

    Then use a ...
    Dr BEEP Dr BEEP 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…

    ... ($Text)
    $Text = StringReplace($Text, Chr(34), "@") ;;replace all quotes with ...
    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…

    ...

    $N="\"& Chr(13)&Chr(10)&" "
    $Text ... ($Text)
    $Text = StringReplace($Text, Chr(34), "@") ;;replace all quotes with ...
    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…

    ... )

    $N="\"& Chr(13)&Chr(10)&" "
    $Text ...

    $Text = StringReplace($Text, Chr(34), "@") ;;replace all quotes with ...
    kgmcneil kgmcneil September 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. …

    ... )
    130 LET b$(1)=CHR$(LEN a$)+a$
    140 ...
    Paddy Coleman Paddy Coleman 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?

    ... each value to its associated CHR$, for example:

    [CODE ...
    120 LET L$(10)=CHR$ L[/CODE]
    to access ...
    Paddy Coleman Paddy Coleman September 2010 Development
  • 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…

    ... REM DEF FN c$(a)=CHR$ (PEEK (a)-FN t(a ... )
    9135 LET n$(i0)=CHR$ (PEEK v0-(INT (PEEK v0 ...
    9185 LET n$(i0)=CHR$ (PEEK v0-INT (PEEK v0 ...
    Paddy Coleman Paddy Coleman September 2010 Sinclair Basic
  • New oneliners for 2008[INDENT][INDENT][INDENT]Here's my attempt at a first-person-perspective 3d game in one line of BASIC. It's called 'wormhole', and you've got to get t…

    ... 18,c; INK 5;" ";CHR$ 140;CHR$ 143;CHR$ 140;" "' INK 0; PAPER ...
    Einar Saukas Einar Saukas September 2010 Development
  • Pope coming to BritainThe Pope is coming to Britain tomorrow. Anyone care?

    ... [/quote]
    Other than the 'chr[b]e[/b]stianos' issue ...
    AY Chip AY Chip September 2010 Chit chat
  • 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…

    ... TO 50: LET p$(a)=CHR$ (65+RND*25): NEXT a ...
    Paddy Coleman Paddy Coleman September 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…

    ... TO 50: LET p$(a)=CHR$ (65+RND*25): NEXT a ...
    Dr BEEP Dr BEEP September 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…

    ... TO 50: LET p$(a)=CHR$ (65+RND*25): NEXT a ...
    Paddy Coleman Paddy Coleman September 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…

    Hi Dr. Beep,

    Tried one of the tricks you said (move the code nearer the top) and a couple of other optimisations and the Shell Sort now averages 10.3 seconds rather than 11.57.

    [CODE]100 GO SUB 250
    110 REM SHELL SORT V2
    Paddy Coleman Paddy Coleman September 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…

    ... n:
    LET v$(i)=CHR$ (65+RND*25):
    NEXT ...
    Battle Bunny Battle Bunny September 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…

    ... 52:
    LET v$(i)=CHR$ (i+64+(6 AND i ...
    Battle Bunny Battle Bunny September 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…

    Hi Battle Bunny,

    Never ceases to amaze me the difference in performance between BASIC and MCODE. Sounds like you have a powerful routine there.

    I have modified my demo version so that it can be used (for future generations ;)) as ...
    Paddy Coleman Paddy Coleman September 2010 Sinclair Basic
  • New oneliners for 2008[INDENT][INDENT][INDENT]Here's my attempt at a first-person-perspective 3d game in one line of BASIC. It's called 'wormhole', and you've got to get t…

    ... AT y*3-2,23;CHR$ (64+y)," ";y;AT 0 ... ,y*3;CHR$ (71+y);AT 21,y ... *3+1;CHR$ (78+y); PAPER 1; AT ...
    Einar Saukas Einar Saukas October 2010 Development
  • detect deleteHi everone How can you detect that the caps + 0 (delete) is selected. Im making a word program for fun, but i need to be able to delete characters..…

    IF INKEY$=CHR$ 12 THEN delete is pressed
    mcleod_ideafix mcleod_ideafix October 2010 Sinclair Basic
  • detect deleteHi everone How can you detect that the caps + 0 (delete) is selected. Im making a word program for fun, but i need to be able to delete characters..…

    [QUOTE=mcleod_ideafix;481181]IF INKEY$=CHR$ 12 THEN delete is pressed[/ ... serious you should investigate using CHR$ as the control codes give ...
    rich_chandler rich_chandler 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…

    ... nelem: LET
    p$(n)=CHR$ (RND*25+65): NEXT n ...
    mcleod_ideafix mcleod_ideafix 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…

    ... nelem: LET
    p$(n)=CHR$ (RND*25+65): NEXT n ...
    Paddy Coleman Paddy Coleman 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…

    Hi Dr Beep etc.

    Come on guys - you know more about Sinclair BASIC than is healthy! :smile: Surely you have some tips to optimise/speed up the following code.

    [CODE]100 GO SUB 250
    110 REM SHELL SORT V4
    120 LET b=INT (n ...
    Paddy Coleman Paddy Coleman 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…

    [QUOTE=JamesD;482918]If you can use ELSE it should look like this.
    [CODE]110 REM COMB SORT V2
    ...[/CODE][/QUOTE]

    Hi James,

    Coded up your V2 Comb Sort and got the following results:

    Paddy's original V1 Comb ...
    Paddy Coleman Paddy Coleman October 2010 Sinclair Basic
<1…14151617181920…34>

Latest Posts

  • Happy 40th Birthday to the Amstrad CPC464!
    AndyC on 6:29PM
  • Goodbye Z80
    i love the z80s on 6:28PM
  • Another Birthday! The Game Boy Is 35!
    dm_boozefreek on 6:17PM
  • I bought an accoustic guitar. How do you play it?
    Maroc's Other Projection on 6:04PM
  • I am currently watching.....
    Antiriad2097 on 5:05PM
  • European Software Titles with an English version
    harriusherbartio on 12:06PM
  • How Do You Categorize Your Speccy Software and Games?
    harriusherbartio on 11:21AM
  • Fixed Speccy Software. And which games remained unfixed?
    harriusherbartio on 11:01AM
  • New video about S-video modification on Issue two 48K Spectrum.
    Renegade on April 21
  • Elusive Strategy Games done by the Smaller or less Prolific Software Houses.
    harriusherbartio on April 21

HitBox

Word Docs Hits
chr 1.3K 4.4K

Related Threads

  • ZX Spectrum CHR$ sets (fonts)I'm satisfied enough with my _ZX Spectrum CHR$ sets (fonts)_ web page and I published it at [url="http://mstancevic.tripod.com/SpectrumCHRs/ZX_Spectr…
  • The Great CHR$(27)It's not Christmas without the Great Escape on at least once.<br /> <br /> That is all.
  • unreadable CHR$ in Titan Quest, help, plstried demo and full version of titan quest,<br /> <br /> but both versions of the game have been making fun of me, I guess,<br /> there's just wrong …
  • .chr to .binSo here goes another stupid question. What's the best way to convert .chr files created with ZX-Paintbrush to binary or asm format? I know ZX-Blocked…
  • How do you use CHR$ properly in a string ?So I trawled through the manual and found the bit on the character set. It says CHR$ 17 gives you paper control and CHR$ 16 gives you ink. But how do…
  • Help with CHR$ codes 0 to 5Hi,<br /> I'm looking a piece of code in a listing similar to:<br /> Let a$ = CHR$ 0<br /> Let b$ = CHR$ 1<br /> Let c$ = CHR$ 2<br /> Let d$ = …

Related Searches

  • chr
  • chr 22
  • chr 21
  • chr attributes
  • chr codes
  • coding chr
  • code chr
  • control code chr
  • chr color codes
  • chr asm
  • 64 chr basic
  • chr 12
  • poke big chr channel
  • poke chr 8 over 1
  • bin chr 196 a
  • zx spectrum chr
  • chr ink
  • chr controls
  • chr control
  • chr nathan

Copyright © 2024 World of Spectrum