Changes

Jump to: navigation, search

Locomotive BASIC

150 bytes added, 09:44, 21 September 2012
/* RND [(n)] */
==== <code>RND [(n)]</code> ====
: Generates the next random number between 0 and 1 (exklusiv) in the current squence if n is positive or omitted.  : If n = 0, the random number generated will be the same as the last random number generated.: Example:<pre>PRINT RND(0) 0.536703827ReadyPRINT RND(1) 0.271940658ReadyPRINT RND(0) 0.271940658Ready</pre>
: Exampel for generating an integer random number between 1 and 1000
205
edits