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;
// output
BOOL

bool();
// output
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;
// output
INT

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

typestr x;
// output
LONG

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

x;
// output
[,,,,,,,,,]

typestr x;
// output
FAST BOOL VECTOR

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

x;
// output
[,,,,,,,,,]

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

x;
// output
[,,,,,,,,,]

x=true false NULL true;
x;
// output
[1,0, ,1]

m=matrix(double,3,3)*NULL;
m;
#0 #1 #2
shape m;
// output
3:3

typestr m;
// output
DOUBLE MATRIX