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.033s
<1…9101112131415…34>
  • Confounded DEF FNCan anyone see why this is going wrong? I've been tinkering with it since tea time and got nowhere. [code] 2 DEF FN t$(n,t,d) =STR$ INT (n/t)…

    Here's a way to get both the calculator & machine stacks included when you're calculating function memory usage in BASIC. Just put the DEF FN in 1001 and the FN call in line 1030.

    [center][img]http://www.users.globalnet.co.uk/~jg27paw4/ ...
    Battle Bunny Battle Bunny August 2013 Sinclair Basic
  • Math problemI'm trying to solve/model a science problem, and I thought a simple BASIC program might help me, but I struggle to write it. Goal: Given a length of…

    ... of range"
    22 LET c$(p)="y": REM ignore ... c$(c)="y" THEN
    LET pl=c-p: LET c(pl)=c(pl)+1: LET p=c: LET ... pt=pt+pl
    34 NEXT c ...
    36 LET pl=100-p: LET c(pl)=c(pl)+1: LET ...
    Battle Bunny Battle Bunny August 2013 Sinclair Basic
  • Math problemI'm trying to solve/model a science problem, and I thought a simple BASIC program might help me, but I struggle to write it. Goal: Given a length of…

    ... />
    [code]
    20 LET p=1+INT ((RND+1e ... cut

    22 LET c$(p)="y": REM ignore duplicate ... c$(c)="y" THEN
    LET pl=c-p: LET c(pl)=c(pl)+1: LET p=c: LET ... command?
    What is the c$( )="y" about in line ...
    48K 48K August 2013 Sinclair Basic
  • Books that you just can't quit.Much as parts of the presentation,writing style infurates me, there is a book I just keep comming back to again and again. Its like the Yang to the …

    ... LET fanfare=2000: LET worm=3000: LET key=4000: LET gobble=5000: LET status=6000: LET ... .
    1050 LET S=5: LET P=1: LET R=0: LET C=INT (RND ... AT R(P),C(P); PAPER 7;" "
    1170 LET P=P ... worms head.
    3020 LET R=R+RMOVE: LET C=C+CMOVE
    3029 ...
    wibble wibble August 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…

    ... 8)
    5 LET c=INT ((255-x ... LET b=0: LET c=b: LET hl=c: LET w=c: LET p=c:
    LET xo=128: LET ... yo=88: LET ... r=75:
    LET ...
    Battle Bunny Battle Bunny October 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…

    ... /> LET e=0: LET b=0: LET c=b: LET hl=c: LET w=c: LET p=c:
    LET xo ... =255-128: LET ... yo=175-88: LET ...
    Battle Bunny Battle Bunny October 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…

    ... /> LET b=0: LET w=b: LET e=b: LET hl=b: LET c=b: LET x ... =b: LET y ... =b:
    LET ... xo=255-128: LET yo ...
    Battle Bunny Battle Bunny October 2013 Sinclair Basic
  • Type-in BASIC contest on Reddit.Not sure how WOS-legal it is to mention/link to other forums, but Reddit is having a contest on r/retrobattlestations, asking readers to type a speci…

    ... wh+nrsc THEN LET sc=LEN s$
    1540 LET c$="": FOR i ... =1 TO LEN s$: LET c$=c$+" ": NEXT i ...
    1550 IF LEN e$>0 THEN LET ... $+CHR$ 13
    1560 LET e$=e$+c$
    1570 IF t ...
    Battle Bunny Battle Bunny October 2013 Sinclair Basic
  • How to print logo onto screen at chosen coordinates?Hi, I've just got back into zx spectrum games after all these years and after seeing some of the great games on here I would like to start learning p…

    ... [code]
    10 DIM c$(8): DIM p(8,8 ... br /> 40 LET p=POINT (x,y): LET c$(x+1)=CHR ... $ 143 AND p: LET p(8 ... PRINT AT 7-y,0;c$: NEXT y
    55 ... /> 90 INPUT "Press ENTER ";c$: NEXT c
    [/code]
    ... br /> 84 LET x1=(x+o)*s: LET y1=(y+ ...
    Battle Bunny Battle Bunny February 2014 Development
  • How to print logo onto screen at chosen coordinates?Hi, I've just got back into zx spectrum games after all these years and after seeing some of the great games on here I would like to start learning p…

    ...
    180 INPUT "text "'c$
    181 INPUT "coord:x ... 1 TO LEN c$:
    LET c=CODE c$(a):
    LET bc=ox=(oy ... =(sx=(sy=(ds=(c+USR ... 60000))))):
    LET ox=ox+sx ...
    Battle Bunny Battle Bunny February 2014 Development
  • Is Fred Harris the BBC Presenter DeadI've just remember Fred Harris who used to present on BBC, I wondered if he's dead. Yeah or Neah?

    At the end there, LET c=,LET r=

    did the electron need the LET command?

    I seem to remember on my BBC I could have said c= not LET c=

    ?
    thx1138 thx1138 February 2014 Chit chat
  • Calculating an average?I would like to calculate the average amount I pay per month on my sons' school lunch accounts. Every month I receive a notification when the lunch m…

    [CODE]
    10 LET t=0
    20 LET c=0
    30 ... INPUT "Amount ($)? ";a
    40 LET t ... =t+a
    50 LET c=c+1
    ... Average = $";(INT (100*t/c))/100
    90 PRINT AT ... Average = $";(INT (100*t/c/4.3333))/100
    100 ...
    joefish joefish March 2014 Sinclair Basic
  • dumping protected BASIC loadersI wrote this a few weeks ago but forgot to post it. It will load & list from tape/TAP/TZX any BASIC program which has been saved with SAVE, including…

    ... /> ...
    10 LET a=bytes: LET iv=0: LET bt=0: DIM ... n(5)
    ...
    25 IF c= ... 14 THEN
    PRINT "[";: FOR d=1 TO 5: LET ... STEP -1:
    LET c$=CHR$ PEEK d: LET d$=CHR$ PEEK ( ... LET e$=CHR$ PEEK (d-2)
    2001 IF c$> ...
    Battle Bunny Battle Bunny March 2014 Sinclair Basic
  • TAPlist - the emulator versionI've got this working reasonably well; there's just a couple of small extra features which I want to add. (Recall that TAPlist writes a formatted lis…

    ... +256*PEEK 23628:
    LET c=PEEK (v+6)+256*PEEK ... margin: ";m,"tabstop: ";t:
    LET m=INT ABS m:
    LET t=INT ABS t:
    c-63600)):
    STOP:
    ... /> [*]DIM a$(1900)
    [*]LET v=PEEK 23627+256*PEEK ...
    Battle Bunny Battle Bunny April 2014 Sinclair Basic
  • Fast and easy read/write of attributes?What are the fastest or easiest ways to check the attributes of tiles on the screen, in BASIC? It seems to be a great way of storing object info. …

    ... LET X=10:LET Y=10
    20 LET a$="AB"
    30 LET ... b$="CD"
    40 LET c$=" "
    45 LET ... OX=X:LET OY=Y
    LET X=X+1
    60 ... /> 80 IF INKEY$="a" THEN LET Y=Y+1
    100 ...
    R-Tape R-Tape June 2014 Sinclair Basic
  • Fast and easy read/write of attributes?What are the fastest or easiest ways to check the attributes of tiles on the screen, in BASIC? It seems to be a great way of storing object info. …

    ... NEXT y
    10 LET X=10: LET Y=10: DIM i ... $(1): LET w=x: LET z=y:
    LET a$=CHR$ ... 16+CHR$ 2+"AB":
    LET b$=CHR$ 19+CHR$ 1 ... 16+CHR$ 1+"CD":
    LET c$=" ": PRINT AT x,y;a ... /> 45 LET w=X: LET z=Y: LET i$=INKEY$:
    LET x=x ...
    Battle Bunny Battle Bunny June 2014 Sinclair Basic
  • Fast and easy read/write of attributes?What are the fastest or easiest ways to check the attributes of tiles on the screen, in BASIC? It seems to be a great way of storing object info. …

    ... NEXT y
    10 LET X=10: LET Y=10: DIM i ... $(1): LET w=x: LET z=y:
    LET a$=CHR$ ... 16+CHR$ 2+"AB":
    LET b$=CHR$ 19+CHR$ 1 ... 16+CHR$ 1+"CD":
    LET c$=" ": PRINT AT x,y;a ... /> 45 LET w=X: LET z=Y: LET i$=INKEY$:
    LET x=x ...
    Dock Dock June 2014 Sinclair Basic
  • Dock's ZX Maze gameI'm hoping to finish a simple maze game in ZX Spectrum BASIC this week, as part of the Ludumdare Retro challenge. I used to dabble in speccy basic on…

    ... [code]
    35 LET j1= 0: LET j2=-1: LET s=1: RETURN ...
    36 LET j1= 1: LET j2= 0: LET s=4: RETURN ... 5: LET r=r+j1: LET k=k+j2: LET x$=c$(s,c):
    LET c=c+1 OR c=3: LET y$=SCREEN$(r,k ... ): LET z$=CHR$ 22+ ...
    Battle Bunny Battle Bunny June 2014 Sinclair Basic
  • Dock's ZX Maze gameI'm hoping to finish a simple maze game in ZX Spectrum BASIC this week, as part of the Ludumdare Retro challenge. I used to dabble in speccy basic on…

    ... [code]
    35 LET j1= 0: LET j2=-1: LET s=1: RETURN ...
    36 LET j1= 1: LET j2= 0: LET s=4: RETURN ... 5: LET r=r+j1: LET k=k+j2: LET x$=c$(s,c):
    LET c=c+1 OR c=3: LET y$=SCREEN$(r,k ... ): LET z$=CHR$ 22+ ...
    davepierce07 davepierce07 June 2014 Sinclair Basic
  • UDG tricks?I always enjoyed using [URL="http://www.worldofspectrum.org/ZXBasicManual/zxmanchap14.html"]UDGs [/URL]for the 'sprites' in my games, when I coded th…

    ... $, 'c' starts at 9, so the first cycle sets c=1):
    LET c=c ... +4 OR c=9: LET c$=CHR$(CODE i$+c); thus ...
    Battle Bunny Battle Bunny June 2014 Sinclair Basic
  • Basic program malfunctionHello. Please does anyone know why this basic program 10 LET x=0 20 LET x=x+0.1 30 print x 40 if x<>1 then goto 20 50 STOP does not properly work o…

    ... "start ";a'"step ";b'"finish ";c: LET c$=STR$ c: CLS
    9:
    10 LET x=a
    20 LET x ... /> 60:
    110 LET x=a
    120 LET x=VAL STR ...
    Battle Bunny Battle Bunny June 2014 Sinclair Basic
  • How to stop a block name appearing on load[FONT=Calibri][SIZE=3]I am putting together a tape loader for my game and so far it works apart from one problem. After loading the ?loading screen? …

    ... /> 30 LET c=PEEK 23631+256*PEEK 23632+5 : LET p=PEEK c
    40 POKE c,111 : LOAD ... ""SCREEN$
    50 POKE c,111 : LOAD ""CODE
    ...
    100 POKE c,p
    ...
    [/code]
    TK90XFan TK90XFan August 2014 Development
  • Music in 128K BASICI have a pdf of the Spectrum 128K manual with its commands and I'm finding the music section to be a little hard to follow (I accept stupidity on my …

    ... 5ccggaa7g"
    30 LET t$="5ffeedd7c"
    40 LET u$="5ggffee7d"
    50 LET a$=s$+t ... :
    [CODE]
    200 LET r$="5&&& ... amp;7&"
    205 LET r$=r$+r$
    ... u$+s$+t$
    220 LET c$=r$+r$+s$+t$+u ...
    Timmy Timmy September 2014 Sinclair Basic
  • Microdrive usageAnyone here know about microdrive files? Had a few carts in, all have stuff on, heres an example cat 1 with the error message i get for every single …

    ... 5000: STOP

    5000 LET z$="": CAT #14,d
    5030 LET z$=z$(13 TO )
    Battle Bunny Battle Bunny November 2014 Sinclair Miscellaneous
  • Microdrive usageAnyone here know about microdrive files? Had a few carts in, all have stuff on, heres an example cat 1 with the error message i get for every single …

    ... like:
    [code]
    10 LET z$="": MOVE "m";1;"bubble ... TO LEN z$
    30 LET c$=z$(a)
    40 IF ... c$>=" " THEN PRINT c$;
    50 IF c$< " " THEN ... PRINT INVERSE 1;"0" AND CODE c$
    Battle Bunny Battle Bunny November 2014 Sinclair Miscellaneous
<1…9101112131415…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
let 29.3K 51.6K
c 20.3K 48.8K
abcdefghij 3 3

Related Threads

  • Let it Slow Let it Snow let it SnowWell, It's snowing here hard in the top left Corner of North Carolina.<br /> <br /> I heard that is it snowing hard in the UK also. My parents were s…
  • comp.sys.sinclair Crap Games Competition (C.S.S.C.G.C. 2022) is here!Welcome one and all!<br /> <br /> [img]https://i.postimg.cc/3yYpjjbH/cropped-CCG2022.png[/img]<br /> <br /> I am proud to announce the opening of…
  • Arrays in C and C++ from a Java Programmer.I have been looking arround the web and found many conflicting answers to this question so I thaught I'd ask you folkes.<br /> <br /> What is the C a…
  • Let is snow let it snowFor those of use in the south and west of the country including those in Northern Ireland its going to be a snowy one tonight and tomorow.<br /> <br …
  • Z80 disassembler C/C++ source codeHello,<br /> <br /> I just thought I might share the [URL="http://zxds.raxoft.cz/docs/z80d.cpp"]source code[/URL] of the Z80 disassembler I have writ…
  • c & c red alert 2 freeanother day.. another freebie<br /> <br /> http://www.pcgamer.com/command-conquer-red-alert-2-is-free-on-origin/
  • C CompilerIs there an IDE based C compiler for the 128. I've heard rumours...
  • C&VG magsI have quite a number of these for sale ranging from Aug.1982 to Jan 1988 and am open to offers. Also the C&amp;VG Book of Games III.<br /> …
  • .$b and .$c format helpHi, i have downloaded agame of lemmings (it took ages to find one that might work) i have downloaded about 5 and none of them worked.<br /> I have fo…

Related Searches

  • hisoft c manual
  • live and let die
  • speccy c
  • developing in c
  • divmmc c
  • let
  • xor c
  • xor c loop
  • ld a b xor c loop
  • ld a b or c loop
  • pacmen c
  • emulator c
  • emulator c source
  • c compiler
  • code in c
  • play a b c
  • b c bill
  • a m c
  • t a c
  • c

Copyright © 2024 World of Spectrum