<< Home | About Forth | About TurboForth | Download | Language Reference | Resources | Tutorials | YouTube >>


RND Search:

In Math Words in TurboForth Kernal

Word Name: RND
Type: Standard word
Data Stack Signature: limit --- n
Return Stack Signature: --
Availability: V1.0  V1.1  V1.2
Description:

Pushes a pseudo random number n which is a number between 0 and limit-1. If the full range (0-65535) is required, use a limit of 0.

Example:

none

Comment:

The seed from which the random numbers derive is determined at power-up.

See Also: None listed

<< Home | About Forth | About TurboForth | Download | Language Reference | Resources | Tutorials | YouTube >>