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.045s
<1234567…34>
  • Watchperson by Mac OglesbyLike many others of my age, I encountered Mac Oglesby's [i]Watchperson[/i] on the BBC Micro in school. For some reason the concept stuck with me (per…

    ... all the nodes have an even number of edges you can start ... nodes which have an odd number of edges leaving it will ...
    Paradigm Shifter Paradigm Shifter November 2021 Sinclair Basic
  • How do I get a random numberHi, I need a simple routine to get a random number from 1 to 4. I don't need nothing very complex or that much random, it just have to produce diffe…

    ... routine to get a random number from 1 to 4. I ... />
    I looked into S-RND (in ROM at addr #25F8 ...
    AE.Vasconcelos AE.Vasconcelos May 2005 Development
  • Happy birthday RNDThink of a number between 0-100 RND, go on, any number. Huppy Burthus-day.

    Think of a number between 0-100 RND, go on, any number.


    Huppy Burthus-day.
    Graz Graz June 2007 Chit chat
  • +3dos BASIC Headers - Char and Number ArraysHi. I'm almost ready to release the first beta of "3eExplorer" my utility for extracting files from a +3e HDD/CF image. It's actually going quite w…

    ... .TAP limitations). In theory it even works for deleted files, tho ... a problem with Character and Number arrays. As far as I ...
    icabod icabod July 2007 Development
  • Converting a decimal number to binary...Hi Folks, Been thinking about ways to convert a decimal number to 8 bit binary and came up with the following: [CODE]100 REM ----------------------…

    ... ways to convert a decimal number to 8 bit binary and ... CLS
    140 INPUT "Enter number (
    Paddy Coleman Paddy Coleman February 2011 Sinclair Basic
  • problem with RND (or maybe INT)I'm using this statement: LET m=(INT (RND*sn)+k1)*k2-k1 to give a pointer m to a 2-byte segment of a string l$. Items k1 & k2 are integer constants…

    ... :

    LET m=(INT (RND*sn)+k1)*k2-k1
    number of segments in the string ... STEP k0: LET m=(INT (RND*sn)+k1)*k2-k1: PRINT ...
    Battle Bunny Battle Bunny January 2012 Sinclair Basic
  • RND CommandsExactly how random are they? Reason I ask is I'm using 4 of them to generate a random number, the value of which then assigns movement commands to f…

    ... them to generate a random number, the value of which then ... seem to recall a RANDOMIZE RND command which I've entered ...
    930 LET k=INT (RND*8)
    940 LET l ... =INT (RND*8)
    950 LET m ... =INT (RND*8)
    960 LET n ...
    Wookiee Wookiee January 2012 Sinclair Basic
  • RND numberHow do I go about selecting from the numbers 4,9,14 and 19? (RND*4)*5-1 ????? :-?

    How do I go about selecting from the numbers 4,9,14 and 19?

    (RND*4)*5-1 ????? :-?
    daveysludge daveysludge March 2012 Sinclair Basic
  • Basic BASIC help needed RNDHi all, I have recently re-discovered an old program I wrote in the early 90s which would do generate random lottery numbers. I know little now, an…

    ... to display a random number between 1 and 49 ... generates a semmingly random number in this range but ... hardly ever give a number under 10 and occasionally ... gives a number OVER 49!

    Let b= 1+ INT (RND*49): PRINT b

    landorb landorb March 2012 Sinclair Basic
  • CMWC random number generator for Z80Seeing the interest regarding the [URL="http://www.worldofspectrum.org/forums/showthread.php?t=23070"]Xor-Shift random number generator for Z80[/URL]…

    ... ?t=23070"]Xor-Shift random number generator for Z80[/URL], I ... /> org 40000

    call rnd ; BASIC driver
    ld c ... ,0
    ret

    rnd ld de,0 ; c,i ... = t / 256

    ld (rnd+1),de

    ld ...
    Patrik Rak Patrik Rak June 2012 Development
  • Your favourite Spectrum [whatever] beginning with a numberI thought I'd resurrect the fairly popular 'Best Spectrum game beginning with [whatever letter], so here goes. You know the drill, each of your answe…

    ... case of this thread, a number). We'll go by WOS ... from, beginning only with a number, is there? I'll say ... 've seen beginning with a number).

    Best sound or ... a game): I can't even remember if 180 or 1942 ...
    ewgf ewgf August 2012 Games
  • Hidden message in Down To EarthJust found this in the Down To Earth code. I like reading these old messages left behind by programmers. [code]WELCOME TO ORIFICE Credits Darren B…

    ... one can write M/code even if its
    just a ... FOR-NEXT loop,
    a RND & a devious POKE ... dig, dig dug game.
    Even though he calls me a ... Darren's room
    even if it is a bit ... you...

    -Martins phone number
    (0273) 594804 ish
    FrankT FrankT January 2013 Sinclair Miscellaneous
  • generating a pre-defined list in an un-defined sequenceI've decided to become a drunkard, to which end I've been drinking a whole bottle of beer in one day (whereas normally I'd make it last 2 or 3 days).…

    ...
    20 LET r=INT (RND*768): LET y=INT (r ... a number which isn't in its list, as that wastes even ... and it would generate every number in that range once and ...
    Battle Bunny Battle Bunny July 2013 Sinclair Basic
  • RND cyclical behaviourGood evening. I'm playing with RND function to show its cyclical behaviour, i.e. after 65536 calls to it, the next one will return the same value of …

    ... .
    I'm playing with RND function to show its cyclical ...
    15 LET r=INT (RND*n)
    20 LET y ... this program may display another number... I wonder which RANDOMIZE one ...
    mattsteel mattsteel August 2013 Sinclair Basic
  • Converting an integer arbitrary large binary number into a printable decimal formThis was asked a long ago at the comp.sys.sinclair newsgroup. At that time, I came up with a solution by extrapolating the classic algorithm of suces…

    ... slow process (the Z80 is even unable to divide two arbitrary ... the binary representation of the number, plus one byte for each ... digits of the resulting number.

    The number of BCD digits ... that gives us the integer number closer to the argument, greater ...
    mcleod_ideafix mcleod_ideafix November 2013 Development
  • Match Day - Maximum number of goals (?) and a bug compilationGreetings. I'm willing to share some stuff about old Ritman's classic Match Day, so let's get on with it. :smile: PART 1 ------ I was curious abo…

    ... out which is the largest number of goals a player can ... scoring team players don't even shake
    their arms as ...
    DeusX DeusX February 2015 Games
  • Chompston Mazes in SpecBASAfter the discussion in ASH-II's Pacman thread, I checked out the link there about generating 2D Pacman style mazes. This one was quite good fun, …

    ... =INT(mind+INT(1+(RND*(maxd-mind)))/2)*2 ... a number between Mind and Maxd, and assured to be even. ... br /> LET x=3+(INT(RND*((mw-4)/2))*2),y ... =3+(INT(RND*((mh-4)/2))*2): ... x,y)=1,n=INT(RND*3)+2,e$="1234": ...
    LET a=1+RND*LEN e$,d$=d$+CHR ...
    Dunny Dunny October 2015 Sinclair Basic
  • Random Numbers, USR Return Values & Timing BASICI've been trying out Jon Ritman's random number routine, published in Your Sinclair Aug'87. Apart from a timing comparison I also did a frequency ana…

    ... standard Spectrum RND (on the left) gives an exceptionally even spread ... version has a much more even spread across the value ... for a random number function 3*speed of RND and with almost ... call $2d2b ;STACK_BC stack the number in BC
    rst $28 ...
    Battle Bunny Battle Bunny January 2017 Sinclair Basic
  • New BasinC v1.7 I was away from sinclair scene for a long time, I cannot find any time to log on to wos forums. I hope everybody is doing well here. As many of…

    ... I'm upping the version number to v1.7. Not because ... folder. Overwriting old Basin installations (even 1.7a) will not work ... the screen should work ok even when cursor in a string ... printing first keywords correctly (eg. RND/SPECTRUM).
    // Fixed - File ...
    Arda Arda November 2017 Sinclair Basic
  • random number generator without using rnd in basicwhat is the simplest way to generate random numbers in basic (0-255), without using the rnd statement? i also want it to always generate the same…

    what is the simplest way to generate random numbers in basic (0-255), without using the rnd statement?

    i also want it to always generate the same numbers over and over again.
    digital digital June 2019 Development
  • New Compo IdeaI've had this idea and would like to know what do you think about it. I think that most of us here know how to code in BASIC. The problem with Specc…

    ... (corresponding to the first line number) with 0 (see the system ... of memory remember that every number in your program takes 5 ...

    Controls error report number and normally has a value ... as a flashing letter, number, symbol or even a keyword. This is ...
    na_th_an na_th_an April 2005 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=Dr BEEP;208798]On the first run M=0 from the data, why not from the formula?

    Wins 4 spaces![/QUOTE]

    Good catch!!! I missed this one.

    However, when I started thinking again about this game (trying to figure out ...
    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…

    ... (a):
    LET d=SGN (RND-.5)*(1+11 ...
    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…

    ... smarter than all other versions (even the 1+2 we had ... /> [CODE]
    LET i=4*RND-2:
    ...
    ...SGN i ... variable r, because a smaller number of variables means the interpreter ...
    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…

    ... smarter than all other versions (even the 1+2 we had ... /> [CODE]
    LET i=4*RND-2:
    ...
    ...SGN i ... variable r, because a smaller number of variables means the interpreter ...
    Digital Prawn Digital Prawn 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…

    ... last dot.

    c) RND called twice (saves 4 positions ... for Pacman Revenge. It's even better, because people that prefers ... us again exactly the maximum number of permitted characters :)
    Einar Saukas Einar Saukas August 2007 Development
  • 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…

    ... the sqrt, square/add , and rnd(1)/add as one operation ... does the speed difference is even greater. From the Apple IIc ... don't think that random number test really determines anything at ... as computers with the same number of mantissa bits should generate ...
    Alcoholics Anonymous Alcoholics Anonymous December 2007 Sinclair Basic
  • 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…

    ... , square/add , and rnd(1)/add as one operation ... /M machine may not even use shared memory so ... 't think that random number test really determines anything ... computers with the same number of mantissa bits should ... optimal as what the BASIC RND(1) function does.
    JamesD JamesD December 2007 Sinclair Basic
  • 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…

    ... fp code accuracy. The random number generator test is virtually useless ... 6502 in a Commodore 64 even though these benchmarks tell me ... optimal as what the BASIC RND(1) function does.
    [/ ... used a floating point random number generator which the library ...
    Alcoholics Anonymous Alcoholics Anonymous December 2007 Sinclair Basic
<1234567…34>

Latest Posts

  • Minor British Sports that did become games on the ZX Spectrum
    dmsmith on April 22
  • I bought an accoustic guitar. How do you play it?
    Maroc's Other Projection on April 22
  • Goodbye Z80
    moggy on April 22
  • Happy 40th Birthday to the Amstrad CPC464!
    AndyC on April 22
  • Another Birthday! The Game Boy Is 35!
    dm_boozefreek on April 22
  • I am currently watching.....
    Antiriad2097 on April 22
  • European Software Titles with an English version
    harriusherbartio on April 22
  • How Do You Categorize Your Speccy Software and Games?
    harriusherbartio on April 22
  • Fixed Speccy Software. And which games remained unfixed?
    harriusherbartio on April 22
  • New video about S-video modification on Issue two 48K Spectrum.
    Renegade on April 21

HitBox

Word Docs Hits
rnd 2.9K 4.1K
even 73.6K 88.7K
number 18.5K 25.1K

Related Threads

  • issue number of ZX Spectrum 48K by means of serial numberIt is possible to identify the board issue of ZX Spectrum 48K/+ by means of the serial number?<br /> If yes, how?<br /> <br /> <br /> [ This Message…
  • RND numberHow do I go about selecting from the numbers 4,9,14 and 19?<br /> <br /> (RND*4)*5-1 ????? :-?
  • Getting an even random numberWhat would be the best, simplest way to do this ?<br /> <br /> I was thinking of say:<br /> <br /> A = RND*100<br /> <br /> Then a conditional …
  • random number generator without using rnd in basicwhat is the simplest way to generate random numbers in basic (0-255), without using the rnd statement? <br /> <br /> i also want it to always gener…
  • Decreasing number of gamesWhy is number of games in WoS archive decreasing? I think somebody deleted Rainbow Islands for example. So good game should be mentioned, shouldn't i…
  • an unknown game - not even MIAI have here a game called 'word seeker' by perfection software, it's a 16/48k tape, dated 1983.<br /> <br /> no hits on infoseek - and the STP/MIA li…
  • Number 6 in the Village (text adventure) Please help!!!Does anyone have a solution to this text adventure. I've tried to escape by air and sea using the jammer but it hasn't worked. I've been playing it …
  • Number 6 in the Village (text adventure) Help !!! UpdateCheers guys for all your help. I still need to work out how i get across the pond. I know that i can poison the fish with the phial of purple liquid,…
  • Number 6 in the Village (text adventure) HAS ESCAPED!!!And all along i was looking for the word SLIDE.<br /> <br /> Rubber wet suit vs the electric fence...very good!<br /> <br /> ...but still when u com…
  • RND not random?I recently wrote a simple Alien style game where the bad guys shoot you at random, it works fine, but after a while the Variable that is supposed to …

Related Searches

  • number of spectrums manufactured
  • number of spectrums made
  • serial number
  • random number code
  • input number
  • validate input is a number
  • not a number
  • validate input is number
  • if input is not a number
  • rnd
  • serial number database
  • new rnd
  • rutine rnd
  • number of the beast
  • number
  • negative number
  • print 16 bit number
  • number six in the village
  • number six in the village girl who was death
  • poke to change line number in basic

Copyright © 2024 World of Spectrum