< Futurebasic < Language < Reference

MAYBE

Syntax

trueOrFalse = MAYBE

Description

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

RND; RANDOMIZE

This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.