Editor/converter/program manager for the Prime Calculator (PrimeComm)
|
01-12-2014, 10:21 AM
(This post was last modified: 01-12-2014 10:31 AM by ArielPalazzesi.)
Post: #20
|
|||
|
|||
RE: PrimeComm: Alternative Windows (Library/Console/GUI) utility to send/convert things
Hello!
If I'm not mistaken, the en Code: num_secreto local: = (rand () mod 100) + 1; generates numbers between 1.0 and 2.0 (real numbers with decimals). If the game requires numbers between 1 and 100, I think the simplest way is to Code: num_secreto local: IP = (random (1,100)); returns (natural) numbers between 1 and 100. In the line Code: if input( total_intentos,"Total de Intentos","Intentos=","Digite un # como total de intentos maximo" ) should be Code: if input( total_intentos,"Total de Intentos","Intentos=","Digite un # como total de intentos maximo" ) Am I right? Greetings! PS: Sorry about Off Toppic |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 2 Guest(s)