N
AME
aggregate
- construct an array
S
YNTAX
mixed *aggregate(mixed ...
elems
);
or
({ elem1, elem2, ... })
D
ESCRIPTION
Construct an array with the arguments as indices. This function could be written in Pike as:
mixed *aggregate(mixed ... elems) { return elems; }
N
OTA
B
ENE
Arrays are dynamically allocated there is no need to declare them like int a[10]=allocate(10); (and it isn't possible either) like in C, just int *a=allocate(10); will do.
K
EYWORDS
array
S
EE
A
LSO
sizeof
,
arrayp
and
allocate