The Array 2D Boolean node (
) declares one or more named 2D Boolean arrays (matrices) that you can access from form objects and methods. The number of elements in the 2D Boolean arrays is not restricted in any way, but you can specify the number of columns. The
Settings window contains the following section.
Specify the name in the Name column, the number of columns in the 2D Boolean array from the list in the
Number of columns column (use
Undefined if you do not know how many columns the array contains), the initial values in the
Initial values column (see
Array Syntax for the syntax), and the new element value in the
New element value column. The new element value specifies the value that a new element of the 2D Boolean array gets in certain add operations. You can also add an optional description of the 2D Boolean array in the
Description column.
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 2D Boolean array named boolmatrix1 as if it were a normal Java boolean[][] variable: