Phantom Documentation

[Help Home] [Phantom Home]
size

int size(multi-type)

Return Type: int
Parameters: multi-type

Description:
This function returns the dimensions of the input array. The return is a one dimensional array of dimensions. For example, [3,4,2] would mean the input is a 3X4X2 array.

Example Code
1 >>string s;
2 >>s[3][2][4] = "Hello";
3 >>int i = size(s);
4 >>disp(length(i));
3
5 >>disp(i);
4
3
5


Copyright 2000-2011 Phantom Automated Solutions