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.003s
<1234567…34>
  • 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
  • Excel - Deducting percentage - where am I going wrong?Howdy, The help isn't much use, so I'm asking more knowledgable people. I'm also asking here ;) This is for a spreadsheet assignment on the IT side o…

    ... 's automatically setting itself to Percentage, so it obviously understands what ...
    Vertigo Vertigo March 2008 Chit chat
  • Calculating percentage..or even calculating percentage. Maths and asm I find verryyy tricky. Can anyone suggest the easiest/best way to calculate a percentage from two 1…

    ..or even calculating percentage.

    Maths and asm ... /best way to calculate a percentage from two 16 bit numbers ...
    R-Tape R-Tape December 2011 Development
  • 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
    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…

    ... 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…

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

    landorb landorb March 2012 Sinclair Basic
  • Help needed... RND in machine codeI have been battling away trying to convert a simple BASIC routine (below) to machine code, but to no avail. The routine is used to fire 2 bullets a…

    ... flummoxed, mainly due to the RND equation!

    Any ideas ...
    daveysludge daveysludge July 2012 Development
  • problems with rndGot past the whole INKEY$ issue and now am trying to pin down the combat section of the game. got a basic combat routine however, when i try and gen…

    ... LET PH=INT (RND*6)+(INT (RND*6))+(INT (RND*6)): LET PD ... =INT (RND*6): LET MH=INT (RND ... *18): LET MD=INT (RND*6)
    50 ...
    WibbleBibble WibbleBibble August 2012 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 ...
    mattsteel mattsteel August 2013 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…

    ... (i)
    LET r=INT(RND)*255
    LET A(i ...
    NRA NRA November 2018 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
  • Project: M.u.l.e.Wokani came up with a great idea about trying an open-development approach for spectrum games, and I thought why not try with a game I have under dev…

    ... by flipping a coin (ie rnd(2)). One would want a ... /> // zcc +zx -vn rnd-test.c -o rnd-test.bin -lndos -lm ... .0*100" which gives the percentage of time heads turned up ... /> // zcc +zx -vn rnd-dist.c -o rnd-dist.bin -lndos -lm ...
    Alcoholics Anonymous Alcoholics Anonymous July 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…

    ... (999):
    LET e=INT (RND*10)*64+95:
    FOR ... *64:
    LET w=INT (RND*4):
    LET d=32 ...
    Einar Saukas Einar Saukas April 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…

    ... in deterministic time (so the percentage indicator works perfectly), since randomness ... (999):
    LET e=INT (RND*10)*64+95:
    POKE ... *64:
    LET w=INT (RND*4):
    LET d=32 ...
    Einar Saukas Einar Saukas May 2008 Development
  • Random Smiley FacesAs promised, here's the Syntax: ;Startup 5 CLS 7 PAPER 0: BORDER 0 ;Graphics 10 FOR n=0 to 7 20 READ row: POKE USR "P"+n,row 30 NEXT n 31 DATA BI…

    ... /> 40 LET INKY = 1+INT ( RND* 7)
    50 LET X ... = 1+INT ( RND* 30)
    60 LET Y ... = 1+INT ( RND* 20)

    ; Printout!
    Takashi64 Takashi64 January 2003 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 …

    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 be random gets stuck on a number. I've tried RANDOMISE but it didn't work - unless I used it incorrectly. ...
    Pirate Pirate June 2003 Sinclair Basic
  • Wanted Software to Swap for Rom Carts ;)Wot I have for grabs is 4 Complete ROM Carts which I will swap for my wants below Horace [url="http://www.cornishdavey.dsl.pipex.com/4.jpg"]http://w…

    ...
    Logic Processor, The
    Percentage
    Star Reader
    Towers ...
    Cornishdavey:)) Cornishdavey:)) February 2004 Wanted
  • Zaf-forth to Z80 compiler Build 5This forth like complier is changing almost every day with new items been added. Here is a new Zaf-forth word add it the sptword.fth file - which is…

    ... -next loop, label, jump"
    ;"rnd, swap, zxcircle,"




    50 rnd
    ;" get a random number ... mul 255 swap sub
    rnd ?rrandom add =xrandom
    ;"calc ... mul 175 swap sub
    rnd ?rrandom add =yrandom
    ;" ...
    Steve(spt) Steve(spt) October 2004 Development
  • New Functions for Sinclair BasicA total of 52 new functions can be added to Sinclair BASIC; 26 numeric functions (A-Z) and 26 string functions (A$-Z$). Owing to the internal structu…

    A total of 52 new functions can be added to Sinclair BASIC; 26 numeric functions (A-Z) and 26 string functions (A$-Z$). Owing to the internal structure of Sinclair BASIC, the best place to store these functions is in line 0. This prevents the line being ...
    chev chev November 2004 Sinclair Basic
  • Copyright questionWhile I was browsing the net I came across a Japenese Retro site. On the emulators page was this disclaimer - "In Japan, it might contradict the l…

    ... any idea what sort of percentage of emulators are shipped from ...
    ADJB ADJB February 2005 Emulators
  • Ranking emulation on N-gageI'm very interest in the N-gage phone (first version, not QD), and the last decision in order to buy one it's the emulation issue. So, I need you t…

    ... , i think, it's ranking (percentage) the emulation on this platforms ...
    Motomono Motomono March 2005 Chit chat
  • 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…

    ... />
    I looked into S-RND (in ROM at addr #25F8 ...
    AE.Vasconcelos AE.Vasconcelos May 2005 Development
  • The Retro Ball charity event - tickets now for saleTickets for the event are now on sale and can be purchased at : [url="http://www.play4charity.co.uk/ticketstimes.html"]http://www.play4charity.co.uk…

    ... are limited - remember a large percentage of ticket sales will be ...
    boyo boyo August 2005 Chit chat
  • Programming MC : first stepsIsn't nice to collect all kinds of short routines to help making the first steps into MC for everyone who never touched MC? What I mean is mostly th…

    ... call random ; fetch RND number
    add a ... ld hl,(seed) ; fetch RND pointer
    inc hl ... seed),hl ; store next RND-pointer
    ld a ... ret ; A holds RND value
    seed ...
    Dr BEEP Dr BEEP August 2005 Development
  • ZX-81 Ram Pack problemHi! I know this is a ZX Spectrum forum, but I am hoping someone here might be able to help me out... I have posted this to c.s.s. but noone was able…

    ...
    20 LET A = INT(RND*255)
    30 POKE N ...
    Tom-Cat Tom-Cat September 2005 Sinclair Miscellaneous
  • ZX Adveture Club thingy - game for first half of OctoberHello, Put down your rucksacks, lay down that torch, stop cussing the swamp and the ogres, our time playing [I]Monster[/I] has ended. How did you a…

    ... it? What was your final percentage?

    And, whilst we ...
    Zagreb Zagreb October 2005 Games
  • Amazing Short Type-InsHey all ! Been having some pretty stressfull days lately so I tought I would type in some games. There was a very nice type-in book here in Slovenia…

    Hey all !

    Been having some pretty stressfull days lately so I tought I would type in some games. There was a very nice type-in book here in Slovenia called "Mirko Tipka na Radirko" which is roughly translated as "Mirko types on rubber" ( ...
    Tom-Cat Tom-Cat March 2006 Games
  • Pseudo random numbersHi everybody, I 'd like to convert a little program i wrote in VisualBasic6.0 to C or C++ to make it run faster and for training as i'm a very very n…

    ... 5
    Print Int(1 + Rnd * 10);
    Next n
    andregiax andregiax April 2006 Sinclair Miscellaneous
  • Anyone had any dodgy .torrents ? :(Just spent last 30 hours trying to download a torrent named The Da Vinci Code (2006) which was supposed to be 776 megs big and suddenly realised it`s…

    ... /> 1 ot 2 K the percentage dropped slowly back down to ...
    CKay CKay September 2006 Chit chat
<1234567…34>

Latest Posts

  • Happy 40th Birthday to the Amstrad CPC464!
    dmsmith on 12:41AM
  • i am currently listening to........
    dmsmith on April 15
  • I am currently watching.....
    zx1 on April 15
  • Fixed Speccy Software. And which games remained unfixed?
    harriusherbartio on April 15
  • Cooperative Games.
    harriusherbartio on April 15
  • Celebrity deaths...
    mel the bell on April 15
  • Minor British Sports that did become games on the ZX Spectrum
    dm_boozefreek on April 15
  • Elusive Strategy Games done by the Smaller or less Prolific Software Houses.
    harriusherbartio on April 15
  • Inside No.9 favourite episodes
    Maroc's Other Projection on April 15
  • How we became brainwashed by social media
    Scottie_uk on April 15

HitBox

Word Docs Hits
rnd 2.9K 4.1K
percentage 759 825

Related Threads

  • 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 …
  • Happy birthday RNDThink of a number between 0-100 RND, go on, any number.<br /> <br /> <br /> Huppy Burthus-day.
  • Help with percentageCant belive im asking this but i cannot remember how do to this :oops: <br /> <br /> [code]<br /> 10 LET P=1000<br /> 20 PRINT P<br /> 30 PAUSE 25<br…
  • Excel - Deducting percentage - where am I going wrong?Howdy,<br /> The help isn't much use, so I'm asking more knowledgable people. I'm also asking here ;)<br /> This is for a spreadsheet assignment on t…
  • Happy birthday RND!!Merry birthday... Get absolutely sloshed!! (And play lots of [I]Chaos[/I]) :)
  • Happy birthday RND!!Merry birthday... drink lots!! :smile:
  • Happy birthday RND!Merry birthday... drink Chaos! :smile:
  • Calculating percentage..or even calculating percentage.<br /> <br /> Maths and asm I find verryyy tricky.<br /> <br /> Can anyone suggest the easiest/best way to calculate…
  • problem with RND (or maybe INT)I'm using this statement:<br /> <br /> LET m=(INT (RND*sn)+k1)*k2-k1<br /> <br /> to give a pointer m to a 2-byte segment of a string l$. Items k1 &a…
  • RND CommandsExactly how random are they?<br /> <br /> Reason I ask is I'm using 4 of them to generate a random number, the value of which then assigns movement c…

Related Searches

  • calculating percentage
  • rnd
  • new rnd
  • rutine rnd
  • rnd rom
  • rnd in rom
  • rnd 65535
  • rnd swarfega
  • rnd asm
  • rnd slow
  • rnd performance
  • division percentage
  • division percentage z80
  • calculate percentage z80
  • calculate percentage rst
  • z80 calculate percentage
  • rnd peek
  • rnd repetitio s
  • rnd repetition
  • rnd weights

Copyright © 2024 World of Spectrum