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.023s
<1…17181920212223…34>
  • Lesser used BASIC commandsAre there any interesting articles or books that explore some of the lesser used BASIC commands/functions e.g. DEF FN, IN, OUT etc? The Spectrum BAS…

    ... br />
    Syntax
    LET = IN

    ... /> Example
    10 LET A=255-IN 65022
    Associated keywords
    OUT, PEEK, POKE

    **************************************
    X)=X^3
    20 INPUT ?ENTER A NUMBER?;N
    30 LET ...
    Blondin235 Blondin235 March 2006 Sinclair Basic
  • GAMESTAGE DOES IT AGAIN!!!Jeezus WEPT!!! Have you seen gamestage's latest [email="CR@P!"]CR@P![/email] - QUOTE - you can count on us as being the biggest interactive ZX Sp…

    ... . ::. ":. . .:.::".:::..:.AII:. .::',, :I .::. ":. . :..:".:II:.:I: ,,:" " .::FBT'X:: ..:.. ":. . . .. :":III:. :.:A'FBF:. . .P.IP ... /> 4 April 10 2006 at 18:32:19
    Name: Gremlina ... going to give up and let WoS do it?

    robert@fm robert@fm April 2006 Sinclair Miscellaneous
  • National versions of programming languagesI remember reading in old Polish computer magazines that there were serious plans in the 80-ties to create Polish versions of BASIC, Pascal, Logo so …

    ... in Argentina, a C=64 :x (what else, and apologies) tape ... IMPRIMIR, INPUT to ACEPTAR (accept), LET to USE, and so on ... 't remember the dynamic duo PEEK/POKE translations, though, time blessed ...
    Marcelo Marcelo April 2006 Sinclair Miscellaneous
  • ANN: SP1 for Z88DK (aka splib3, Sprite Pack v3.0)Well it's finally arrived, after a month of "a few days from now" release deadlines. SP1 is the lastest version of splib, a flicker-free software sp…

    ... relevant "struct sp1_cs" members. Let's take a moment to ... opcode
    void *draw; // +18 & draw function for this ... sp1_ClearRect(&clip2, INK_BLACK | PAPER_CYAN, 'X', SP1_RFLAG_COLOUR);
    sp1_UpdateNow();
    [/code ...
    Alcoholics Anonymous Alcoholics Anonymous May 2006 Development
  • Which would be fasterSay you want to use a variable value of 0 to 255 in a BASIC program, which way would be fastest? Say for arguments sake you wanted to use two variabl…

    ... b, like so:

    LET a = b

    ... br />
    POKE 60001, PEEK 60002[/QUOTE]

    Forget ... with.

    PEEK and POKE are slightly slower ... =1)

    2) VAL "1"

    3) ... do.

    VAL is a good space saving ...
    Matt_B Matt_B September 2006 Development
  • Font centering problemA while back today, I started coding a simple Othello/Reversi game in BASIC, with the precious aid of BASin (great tool, hope it eventually becomes b…

    ... s pos ***
    5 LET pos1=120: LET pos2=100
    6 ... /> 40 IF POINT (x,y) THEN PLOT x+pos1,y+pos2: GO ... dots ***
    45 IF POINT (x+pos1,y+pos2) THEN OVER ...
    50 NEXT y: NEXT x
    [/code]

    ... can copy pixels by using peek & poke, but you ...
    Arda Arda October 2006 Development
  • 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. …

    ... notation of a variable d(x). Where the value stored at ... position d(x) is between 0 and ... a hex string. I'll let the experts explain why:
    [code]
    DEF FN x$(a) = CHR$(a+48+(7 ... FN h$(x) = VAL$("FN h$(INT(x/16))+FN x$(x-16*INT (x/16 ...
    Alcoholics Anonymous Alcoholics Anonymous February 2007 Sinclair Basic
  • Getting scr addresses from x and yCould someone please tell me how to calculate the 8 screen addresses corresponding to a character printed in basic at coordinates x and y? For examp…

    ... :

    [code]
    LET a$="16384+x+32*y+1792*INT ... ]

    And then use VAL a$ to evaluate it when ... you have to use the x,y vars all the time ...
    Alcoholics Anonymous Alcoholics Anonymous March 2007 Sinclair Basic
  • Converting m$ to dataI created a maze using a matrix of 704 characters. In order to save memory, and since the maze it's just walls and spaces which could be interpreted …

    ... that would correspond to "X X X X" when printing the maze ... POINT, PLOT and PEEK to store the data ... br /> [code]
    100 LET w = m(mapcoord)
    110 ... X";: GO TO 140
    130 PRINT " ";
    140 LET ... br /> [code]
    100 LET w = m(mapcoord)
    110 ...
    Alcoholics Anonymous Alcoholics Anonymous May 2007 Sinclair Basic
  • Converting m$ to dataI created a maze using a matrix of 704 characters. In order to save memory, and since the maze it's just walls and spaces which could be interpreted …

    ... )" ")
    NEXT j
    LET m(INT(i/8)+1 ... 8
    30 LET m(INT (i/8) + 1) = VAL$ ("BIN " + ... />
    [code]
    100 LET w = m(mapcoord)
    110 ... (w/2)*2 w THEN LET w$ = "X" + w$: GO TO 150 ...
    140 LET w$ = " " + w$
    150 LET ...
    Alcoholics Anonymous Alcoholics Anonymous May 2007 Sinclair Basic
  • Game OptimisationBelow is a section of code Im using for movement enermy display and collision detect. What happens is that you move the sight with ,.qa and space do…

    ... " for "playerx" and "playery", use x and y instead.


    DIM x(10)
    DIM y(10 ... monster 3
    LET x(3) = 15
    LET y(3) = 18

    BloodBaz BloodBaz May 2007 Sinclair Basic
  • Game OptimisationBelow is a section of code Im using for movement enermy display and collision detect. What happens is that you move the sight with ,.qa and space do…

    ... as its not just position x data I need to hold ... " for "playerx" and "playery", use x and y instead.


    DIM x(10)
    DIM y(10 ... monster 3
    LET x(3) = 15
    LET y(3) = 18

    Toxitalk Toxitalk May 2007 Sinclair Basic
  • The Non Randomness of Sam BasicHows about this for weird. Hardly ever bothered with such simple stuff before but this is what I just did on the Sam ( as in a real one now I've got …

    ... LET X=RND*255
    20 LET Y=RND*175
    30 DRAW X-PEEK ... 23677, Y-PEEK 23678 ...
    alchresearch alchresearch June 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…

    ... z$(x)=CHR$ 22+CHR$ (x/7+.5)+CHR$ (x-7*INT (x/7 ... $(f):
    NEXT f:
    LET i=CODE INKEY$-48:
    LET a=FN m(z+d ... ):
    LET b=FN m(z+d ... +d):
    POKE g,18+4*(d*a*((a> ... ))=0)+(a>2):
    LET m$(z+d+d)="($"(1 ...
    Einar Saukas Einar Saukas August 2007 Development
  • 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…

    ... +CHR$ (9.5-x/w)+CHR$ (x-w*INT (x/w)):
    DEF ... /> NEXT w:
    FOR z=-18 TO 53:
    PRINT FN ... +31):
    NEXT z:
    LET i=CODE INKEY$-48:
    LET a=FN m(z+d ... +d+d):
    POKE g,18+4*(d*a*((a> ... ))=0)+(a>2):
    LET m$(z+d+d)="($"(1 ...
    Einar Saukas Einar Saukas August 2007 Development
  • 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…

    ... z$(x)=CHR$ 22+CHR$ (x/7+.5)+CHR$ (x-7*INT (x/7 ... $(f):
    NEXT f:
    LET i=CODE INKEY$-48:
    LET a=FN m(z+d ... ):
    LET b=FN m(z+d ... +d):
    POKE g,18+4*(d*a*((a> ... ))=0)+(a>2):
    LET m$(z+d+d)="($"(1 ...
    Einar Saukas Einar Saukas August 2007 Development
  • 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…

    ... (x)/2+144):
    DIM m$(99):
    READ m$(18 ... ):
    NEXT f:
    LET i=CODE INKEY$-48:
    LET d=7*((i=8)-(i ... =7)-(i=6):
    LET a=FN m(z+d ... ):
    LET b=FN m(z+d ... )+(a>2):
    LET m$(z+d+d)="($"(1 ... +b/7):
    LET z=z+d:
    Einar Saukas Einar Saukas August 2007 Development
  • 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…

    ... TO 8:
    PRINT AT 18,b*2;b;AT a ... t(91):
    LET t(41)=2:
    LET t(42)=1 ... :
    LET t(50)=1 ... :
    LET t(51)=2 ... of working with a pair X,Y, and you will never ... (i/3)*6-10:
    LET w=z+d
    IF ...
    Einar Saukas Einar Saukas September 2007 Development
  • 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…

    ... DEF FN w(a,s)=VAL ((a$(a,s) AND ... 0.

    LET x=1:
    LET y=1:
    cursorcoordinates ... /> PAUSE 1-s:
    LET k=CODE INKEY$:
    PRINT ... br />
    LET x=x+(k=56)*(x1):
    LET y=y+(k ... /> Handle cursormovement

    LET s=k*(k>60 ...
    Dr BEEP Dr BEEP September 2007 Development
  • 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…

    ... to flip player tokens.
    x
    y
    z the ... TO 8:
    PRINT AT 18,b+b;b;AT a ... direction.

    [code]
    LET w=w+d:
    [/code ... .

    [code]
    LET f=z*(t(w)=p ... again.

    [code]
    LET p=3-p:
    [/code ...
    Digital Prawn Digital Prawn September 2007 Development
  • 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…

    [QUOTE=Einar Saukas;220617][CODE]
    ...
    NEXT i:
    LET k=INT(z/9-.2):
    PRINT AT k+k,z+z-18*k-4;PAPER 3;" " AND i
    Einar Saukas Einar Saukas October 2007 Development
  • 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…

    ... ),t(1),z,p:
    LET q=z:
    DIM c ... b=1 TO 8:
    LET k=t(a*9+b ... *9+b+2=z);" ":
    LET c(k+1)=c(k ... a:
    PRINT ''c(2);"x";c(3),:
    IF c ... =0):
    NEXT i:
    LET p=3-p:
    POKE ... this the setting of the LET Q=Z can be moved ...
    Dr BEEP Dr BEEP October 2007 Development
  • 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…

    ... 1 TO 8:\
    LET x(m,l)=INT (128+SGN ... /(11-m))*200))):\
    LET y(m)=100-INT (ASN ... /> CLS :\
    PRINT AT 18,14;"^ ^":\
    OVER 1:\
    LET q(z)=3:\
    ... br /> NEXT m:\
    LET q(1)=q(1)+INT ...
    bigjon bigjon February 2008 Development
  • 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…

    ... 5)=(x=49) THEN
    BORDER p:
    INPUT ':
    LET ... )*n,13:
    NEXT x:
    LET a=0:
    BEEP ... s$:
    LET a=a+3:
    LET k=a*8 ... 1:
    LET m=k:
    LET l=l+1:< ... br /> NEXT j:
    LET p=8-p:
    POKE ...
    Einar Saukas Einar Saukas February 2008 Development
  • 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…

    ... 5)=(x=49) THEN
    BORDER p:
    INPUT ':
    LET ... )*n,13:
    NEXT x:
    LET a=0:
    BEEP ... s$:
    LET a=a+3:
    LET k=a*8 ... 1:
    LET m=k:
    LET l=l+1:< ... br /> NEXT j:
    LET p=8-p:
    POKE ...
    Dr BEEP Dr BEEP February 2008 Development
  • 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…

    ... />
    [CODE]
    LET m(x+x+(x.3 OR x=8:
    [/CODE]
    Einar Saukas Einar Saukas March 2008 Development
<1…17181920212223…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
let 29.3K 51.6K
bk3 4 12
peek 1.9K 4.4K
val 705 2.3K
x 14K 31.7K
18 8.8K 12.9K

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…
  • Let a=val "1"I see some basic programs which use Let a=val "1" instead of let a=1 syntax.<br /> <br /> what is the difference between val "1" and 1?<br /> <br /> …
  • Spectaculator 5.x/6.x And Multiface 3Hi there, anyone had any trouble with this at all? The instructions say that it will auto-switch between a Multiface 128 and a Multiface 3 when choos…
  • X-10 or X-20 schematics wantedDoes anyone have schematics for the Sinclair X-10 or X-20 amplifiers ?<br /> <br /> These amp-kits were sold back in 1964/65, and when I read about t…
  • 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 …
  • Boxed ZX Spectrum + with 2 x ZX microdrives, Alphacom32 printer with 3 x thermal rollHi people.<br /> <br /> I found a bargain at a carboot on Sunday from somebody who didn't know what he was selling. (Im no expert by a long shot)<br …
  • Exactly how does the HD work for speccy? X-)How do you transfer you programs from tape?<br /> Or can you run games n stuff from a speccy harddrive. Since there is a lot of different HDs out the…
  • Native OS X port of Fuse availableA beta version of Fredrick Meunier's native OS X port of Fuse, the Free errr... Unix Spectrum Emulator is now available from Fuse's homepage:<br /> <…
  • speccy emulator on OS Xhi there<br /> i am trying to use ZXSP on OS X but it won't load TAP files, and that it only supports .SNA and Z80 files. can i convert TAP files to …

Related Searches

  • x files
  • val
  • rom peek 128k pentagon
  • rom peek 128k pentagon 004c
  • identify pentagon 48k 128k rom peek
  • peek rom identify model
  • peek rom detect model 48k 128k 3 pentagon
  • x uno
  • fuse for mac os x
  • peek
  • peek 1024mak
  • detect 128k peek
  • detect 16k peek
  • z88dk read address peek
  • z88dk read peek
  • z88 peek
  • z88dk peek
  • radastan 128 x 96 16 colours
  • live and let die
  • 2000 let atr attr y x tinta 8 int papel 63 return

Copyright © 2024 World of Spectrum