kytschBASIC

Put down that phone!
Please view me on real computer.

RND
FROM, TO

Random number selector.

Example

REM a random number between 3 and 5

DEF start%=3

DEF end%=5

PRINT RND(start%, end%)

REM a random number between 1 and 10

PRINT RND

Output

4
3

See also

ABS | ACOS | ASIN | ATAN | BIN | EXP | FRAC | HCOS | HEX | HSIN | HTAN | LOG | LOG10 | RND | SGN | SIN | SQR | TAN