The Array 1D Boolean node (
) declares one or more named Boolean arrays that you can access from form objects and methods. The number of elements in the Boolean array is not restricted in any way, and you typically use a Boolean array to specify some list of Boolean values. The
Settings window contains the following section.
This section contains a single table, where you specify one Boolean array stored per row. Specify the name in the Name column, the initial values in the
Initial values column (see
Array Syntax for the syntax), and the new element value for each element (the default,
false, represents the first value) in the
New element value column. The new element value specifies the value that a new element of the Boolean array gets in certain add operations (for example, in a table). You can also add an optional description of the Boolean array in the
Description column.
When the Boolean array is declared as a string, you can use on or
off;
true or
false; or
yes or
no (all case insensitive) as Boolean values.
Use the Move Up (
),
Move Down (
),
Insert Above (
), and
Delete (
) toolbar buttons to organize and remove choices from the list.
In the code of a method, you access a Boolean array named boolarray1 as if it were a normal Java boolean[] variable: