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.020s
<1…10111213141516…34>
  • Summary : Fifty Pascal Programs by SybexI got around getting [url="http://www.worldofspectrum.org/infoseekid.cgi?id=2001037"]this book[/url] and have had a look through it which consists of…

    ... The program also adds a random number function which is only ... I made my own random number function in Hisoft Pascal ... multiply to get a random number within a certain range ... inumber : integer;
    90 number,
    100 xr, yr,
    CP/M User CP/M User July 2018 Sinclair Miscellaneous
  • Summary : Fifty Pascal Programs by SybexI got around getting [url="http://www.worldofspectrum.org/infoseekid.cgi?id=2001037"]this book[/url] and have had a look through it which consists of…

    ... that and put my own random number generator, which is used in ... to generate a random number. On the Amstrad version random(0); is used ... }
    100 seed, {random seed}
    110 score, {number OF turns}
    CP/M User CP/M User July 2018 Sinclair Miscellaneous
  • Summary : Fifty Pascal Programs by SybexI got around getting [url="http://www.worldofspectrum.org/infoseekid.cgi?id=2001037"]this book[/url] and have had a look through it which consists of…

    ...
    So my random number generator needs changing from this ... BEGIN
    210 seed:=random(0);
    220 result ... br />
    And the random number seed could be initially set ...
    would improve the random?

    Please understand ...
    CP/M User CP/M User July 2018 Sinclair Miscellaneous
  • Summary : Fifty Pascal Programs by SybexI got around getting [url="http://www.worldofspectrum.org/infoseekid.cgi?id=2001037"]this book[/url] and have had a look through it which consists of…

    ... uses some kind of Random Number Generator for generating the ... I've added my own Random Number Generator again, which has ... and made the number a bit more random on the ... answer,
    550 right, {number OF right answers}
    560 ...
    CP/M User CP/M User July 2018 Sinclair Miscellaneous
  • Getting an even random numberWhat would be the best, simplest way to do this ? I was thinking of say: A = RND*100 Then a conditional along the lines of: IF A / 2 <> I…

    Get a random number which is an integer, then multiply by two.
    arttu arttu November 2018 Sinclair Basic
  • Getting an even random numberWhat would be the best, simplest way to do this ? I was thinking of say: A = RND*100 Then a conditional along the lines of: IF A / 2 <> I…

    [quote="arttu;947655"]Get a random number which is an integer, then ... (RND*100) [i] ... get a random number make sure its a whole ... number too[/i]
    20 PRINT ... PRINT A' [i] ... print new number (on same line as original ...
    spider spider November 2018 Sinclair Basic
  • Getting an even random numberWhat would be the best, simplest way to do this ? I was thinking of say: A = RND*100 Then a conditional along the lines of: IF A / 2 <> I…

    That might work out a fraction better actually, thanks. I'm really after a random number between 0 and 63. But it must occasionally be 0 rather than "1 to 63" :)
    spider spider November 2018 Sinclair Basic
  • Non-repetitive RNDHi guys) Perhaps, some of you already encountered a situation, when one needed a set of [b]unique [/b](pseudo-)random values, say, from zero to 25…

    ... that means that following one random number, any number is just as likely ... to be the next random number, including the exact same ... a “1”, the next random number is just as likely to ... if the random number is the same as a previous random number.
    ...
    1024MAK 1024MAK November 2018 Sinclair Basic
  • Non-repetitive RNDHi guys) Perhaps, some of you already encountered a situation, when one needed a set of [b]unique [/b](pseudo-)random values, say, from zero to 25…

    A linear congruential pseudo-random number generator will do that.
    < ... a row, in a seemingly random order.
    matalog matalog December 2018 Sinclair Basic
  • Random GRASSHello guys, Many yrs ago I used predefined UDG as grass to fill some area, adding to it via PLOT or POKE. It seems that PRINTing a string$ combin…

    ... this:-
    Generate a random number,( whole number between the max and min ... or greater than the previous random result (so theres a one ...
    mik3d3nch mik3d3nch February 2019 Sinclair Basic
  • Random GRASSHello guys, Many yrs ago I used predefined UDG as grass to fill some area, adding to it via PLOT or POKE. It seems that PRINTing a string$ combin…

    ... with the arrays using a random number of the array index.
    print at y,x;g$[random];
    using a loop to ...
    Luny Luny February 2019 Sinclair Basic
  • Short unattended type-in'sThis follows a similar topic on the BBC/Acorn forum (said topic can be found [url="https://stardot.org.uk/forums/viewtopic.php?f=2&t=14919"]here[/url…

    ... a loop of say a random number (min 10 max 100) of ... better to then put the 'random picks for the address' into ...
    spider spider April 2019 Sinclair Miscellaneous
  • 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…

    ... ! If you want to generate random numbers then the next time ... will not get the same number because of their being randomly ... ! Imagine a dice as a random number generator from 1 to 6 ...
    mik3d3nch mik3d3nch June 2019 Development
  • Looking for Chaos remake "Chaos Groove"The best Chaos remake is Chaos Groove but the homepage for it has become defunct. The version I had on my old hd before it became corrupted included …

    ... a mathematician. It adds a random number from 1-10 to att ...
    SteveSmith SteveSmith January 2020 Games
  • Looking for Chaos remake "Chaos Groove"The best Chaos remake is Chaos Groove but the homepage for it has become defunct. The version I had on my old hd before it became corrupted included …

    [quote="SteveSmith;960810"] It adds a random number from 1-10 to att & def, and if att > def, the attacker wins.
    [/quote]

    So 1 vs 8 and then 1 vs 9 has a 0.03% chance of happening, I think. Good work.
    morph morph January 2020 Games
  • Looking for Chaos remake "Chaos Groove"The best Chaos remake is Chaos Groove but the homepage for it has become defunct. The version I had on my old hd before it became corrupted included …

    ... ="SteveSmith;960810"] It adds a random number from 1-10 to att ...
    Lebowsk1 Lebowsk1 January 2020 Games
  • this code wont give me a random starfieldim using a peice of code that ive copied from a book, ignore most of it as it is redundant. for some reason i get a strange random starfield instead …

    ... /> ... if you want a more random placement of stars, then get ...

    ld bc,1000 ; number of stars.
    loop: push ...
    ld a,(hl) ; Get "random" number from location.
    inc hl ...
    Sokurah Sokurah July 2020 Assembler
  • this code wont give me a random starfieldim using a peice of code that ive copied from a book, ignore most of it as it is redundant. for some reason i get a strange random starfield instead …

    ... /> ... if you want a more random placement of stars, then get ...

    ld bc,1000 ; number of stars.
    loop: push ...
    ld a,(hl) ; Get "random" number from location.
    inc hl ...
    digital digital July 2020 Assembler
  • this code wont give me a random starfieldim using a peice of code that ive copied from a book, ignore most of it as it is redundant. for some reason i get a strange random starfield instead …

    ... used by random number routines
    ;
    ; . . . . . . . . . . .
    ;
    ; Return a random number in ... A between 0 and the number
    ; in ...
    dbolli dbolli July 2020 Assembler
  • Carnival: is it broken and can it be fixed?[url=https://spectrumcomputing.co.uk/entry/823/ZX-Spectrum/Carnival]Carnival[/url] by Eclipse software is ostensibly one of the Speccy's most arcade-…

    ... sec the game checks the random number and the chance for taking ...
    Pgyuri Pgyuri October 2020 Games
  • Scientists puzzled by "Dark Matter" maphttps://www.bbc.co.uk/news/science-environment-57244708 I have to admit this is a bit over my head - however it is interesting and it has the scie…

    ... they have the same number of elements and the ... numbers in it than the number of natural numbers.
    number of ways of arranging ... difficult to prove a number is transcendental (despite the ... if you pick a random number in an interval (e ...
    Paradigm Shifter Paradigm Shifter June 2021 Chit chat
  • Console frameworkStill working on Specotron, but at the point where working out the diagonal lines collision is not good at beer o'clock. In the meantime I've knoc…

    ... probably implement

    random N ; return random number from in interval 0 ...
    Paradigm Shifter Paradigm Shifter September 2022 Development
  • +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…

    ... a problem with Character and Number arrays. As far as I ... +3DOS file header the "+3 BASIC header data" is the same ... a .TAP file...[CODE]+3 BASIC header:
    0x0f : Type
    icabod icabod July 2007 Development
  • Req' Help with Random numbersHello all, im new to the forum, i hope im putting this in the right place ... I would like to ask a question in the hope someone will be able to as…

    ... a little about zx basic programming but this problem ... in Basic, a routine that can choose at random,(or ... at least as random as spectrum basic can), ... the choosing of every number in that range and ... once a number is picked it would ...
    djloonix djloonix November 2009 Sinclair Basic
  • Help with random numbers......Hi all, wonder if anyone can help me... sort of a novice here ... I have been trying to write a simple ish basic program to compare random sets of n…

    ... a simple ish basic program to compare random sets of ... 6 numbers without repeating a number in each set.
    ... 6 numbers that the random generating routine (that i ... />
    10 REM PUT RANDOM NUMBERS INTO X ARRAY
    130 REM PRINT RANDOM NUMBERS IN SETS OF ...
    loonix loonix July 2011 Sinclair Basic
  • "Monty Hall" problem in Spectrum BasicFollowing a rather odd conversation with my wife regarding the probability puzzle "[url="https://en.wikipedia.org/wiki/Monty_Hall_problem"]The Monty …

    ... if they do not. Obviously, BASIC was the tool of choice ... =0
    70 REM Get number of interations
    80 INPUT ... /> 230 REM Monty reveals a random goat
    240 LET m ... flaw in my logic or BASIC?
    mroshaw mroshaw April 2018 Sinclair Basic
  • Random-Access to Microdrive FileI am working on a BASIC program to backup a microdrive text-file to standard tape array-file. To backup a text-file from one microdrive to a secon…

    I am working on a BASIC program to backup a ... MOVE #a TO #b [/b] BASIC command, but my purpose is ... copying-a-screen-in-zx-basic-in-1-second/p1< ... b] is the ability to "random read access" an OPEN# ... as the OPEN#ed stream number to determine some important address ...
    mattsteel mattsteel May 2018 Sinclair Basic
  • BASIC-code challengeFor the BASIC-coders among us. There is a number that has following aspects. divided by 16 remains 15 divided by 15 remains 14 divided by 14 remain…

    For the BASIC-coders among us.

    There is a number that ...

    Find the lowest number that fit the description. Enter ... program below.
    The fastest BASIC-program wins.
    Timing will ...
    Dr BEEP Dr BEEP July 2002 Sinclair Miscellaneous
  • Basic listings memory occupationI remember readong someplace that due to basic's representation of number, in a program, in order to save space, it was better to represent integers …

    ... someplace that due to basic's representation of number, in a program ...
    Alessandro Tommasi Alessandro Tommasi August 2002 Sinclair Miscellaneous
  • 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 …

    ... bad guys shoot you at random, it works fine, but after ... supposed to be random gets stuck on a number. I've tried ...
    Pirate Pirate June 2003 Sinclair Basic
<1…10111213141516…34>

Latest Posts

  • European Software Titles with an English version
    Antiriad2097 on 6:40AM
  • i am currently listening to........
    Paradigm Shifter on 12:26AM
  • Happy 40th Birthday to the Amstrad CPC464!
    dmsmith on April 16
  • Celebrity deaths...
    mel the bell on April 16
  • Cooperative Games.
    Paradigm Shifter on April 16
  • LONELY TZX files : software TZX'd on the online sites with NO ASSOCIATED DOCUMENTATION
    harriusherbartio on April 16
  • How we became brainwashed by social media
    Antiriad2097 on April 16
  • How Do You Categorize Your Speccy Software and Games?
    Antiriad2097 on April 16
  • Fixed Speccy Software. And which games remained unfixed?
    harriusherbartio on April 16
  • I am currently watching.....
    zx1 on April 15

HitBox

Word Docs Hits
random 6.6K 8.2K
number 18.5K 25.1K
basic 24.7K 39K

Related Threads

  • 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…
  • I need ASM for random numberI need to generate a random pair of coardinates in asm so that x=random no between 0 and 31, y=random no between 0 and 23.<br /> <br /> Any ideas on …
  • How do I get a random numberHi,<br /> <br /> 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 p…
  • 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…
  • Switch from 128k BASIC to 48k BasicHello,<br /> <br /> Is there a way to start off running a program in 128k basic (so that you can use the ramdisk facilities) but then switch back dow…
  • (Basic) Sinclair BASIC mode for EmacsI saw this [URL=http://www.worldofspectrum.org/forums/showthread.php?t=14622]post[/URL] regarding a Sinclair BASIC editing mode along with some Fuse …
  • Help with Visual Basic 6.0 vs Visual Basic.netI have a program that auto generates VB.Net code..... I know VB.net syntax and am happy with the code generated.<br /> <br /> However, I have been as…
  • +3dos BASIC Headers - Char and Number ArraysHi.<br /> <br /> 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 g…
  • What did Spectrum BASIC lack (and was BBC BASIC so good?)Over the years, I've read in various multi-format magazines, that BBC BASIC was probably the best BASIC available on an 8-bit machine. I've never use…
  • Xor-shift random number generator for Z80[QUOTE=Patrik Rak;320244]Come on, people, [URL="http://www.jstatsoft.org/v08/i14/paper"]xor-shift generators[/URL] devised by Marsaglia, that's the w…

Related Searches

  • random
  • number of spectrums manufactured
  • number of spectrums made
  • random number code
  • poke to change line number in basic
  • random number 32768
  • random number 32768 repeat
  • random number
  • basic line number
  • basic number
  • basic number representation
  • random number generator
  • random number generation
  • generate random number interface
  • machine code random number
  • max number lines basic
  • number lines basic
  • random basic
  • random number gen
  • max basic line number

Copyright © 2024 World of Spectrum