Futurebasic/Language/Reference/maybe

From Wikibooks, open books for an open world
Jump to navigation Jump to search

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