Null Initialization

For integral, floating, and temporal scalar NULL initialization, use 00<data type symbol >.

To initialize a NULL vector, use take (00<data type symbol>, n), where n is the number of elements in the vector.

$ x=00b;
// b indicates a BOOL constant
$ typestr x;
BOOL

$ bool();
00b
// we can use type functions such as bool, char, short, int, etc to create a NULL scalar if no argument is provided.

$ x=00i;
// i indicates a INT constant

$ typestr x;
INT

$ x=00l;
// l indicates a LONG constant

$ typestr x;
LONG

$ x=take(00b, 10);
// initialize a NULL BOOL VECTOR with 10 elements.

$ x;
[,,,,,,,,,]

$ typestr x;
FAST BOOL VECTOR

$ x=take(00i, 10)
// initialize a NULL INT VECTOR with 10 elements

$ x;
[,,,,,,,,,]

$ x=array(int,10, 100, NULL);
// initialize a NULL INT VECTOR with 10 elements.

$ x;
[,,,,,,,,,]

$ x=true false NULL true;
$ x;
[1,0, ,1]

$ m=matrix(double,3,3)*NULL;
$ m;

#0

#1

#2

$ shape m;
3:3

$ typestr m;
DOUBLE MATRIX