Manuals/calci/GENERATEBOOLEAN

From ZCubes Wiki
Jump to navigation Jump to search
GENERATEBOOLEAN(Range, HowMany)


  • is the range between which numbers are displayed.
  • is the count as how many numbers are to be displayed.

Description

  • This function shows the Boolean values with in the given range of values.
  • In , is the range between which numbers are displayed.
  • is the count as how many numbers are to be displayed.
  • In Boolean type there are two values only,they are 0 and 1.
  • So this function displays 0 and 1 with the given number of counts.

Examples

  1. GENERATEBOOLEAN(3,4) = 1 0 1 0
  2. GENERATEBOOLEAN(20,6) = 1 0 1 1 1 1
  3. GENERATEBOOLEAN(45,1) = 1 1 0 0 1 0 0 0 1 1 0

See Also

References