The Array 2D Boolean Node
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.
List of Variables
This section contains a single table, where you specify one 2D Boolean array stored per row.
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, 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 (), and Delete () toolbar buttons to organize and remove choices from the list.
Code Access
In the code of a method, you access a 2D Boolean array named boolmatrix1 as if it were a normal Java boolean[][] variable:
boolean[][] bm = boolmatrix1;
boolmatrix1 = new boolean[][]{{value11, value12}, {value21, value22}};