Futurebasic/Language/Reference/maybe
Appearance
(Redirected from Futurebasic/language/reference/maybe)
MAYBE
[edit | edit source]Syntax
[edit | edit source]trueOrFalse = MAYBE
Description
[edit | edit source]This function is a special random number generator that returns either _zTrue
(-1) or _false
(0), with equal probability. Before your program calls MAYBE
for the first time, you should execute the RANDOMIZE
statement to "seed" the random number generator.
See Also
[edit | edit source]RND; RANDOMIZE