lpc4/lib/
lpc4/lib/doc/efun/
lpc4/lib/doc/lfun/
lpc4/lib/doc/operators/
lpc4/lib/doc/simul_efuns/
lpc4/lib/doc/types/
lpc4/lib/etc/
lpc4/lib/include/
lpc4/lib/include/arpa/
lpc4/lib/obj/d/
lpc4/lib/save/
lpc4/lib/secure/
lpc4/lib/std/
lpc4/lib/std/living/
NAME
	allocate - allocate an array
SYNTAX
	mixed *allocate(int size);
	mixed *allocate(int size,int size2,int size3, ...);

DESCRIPTION
	Allocate an array of size elements. The number of elements must be
	>= 0 and when running in mudlib (as opposed to script mode) not
	bigger than MAX_ARRAY_SIZE (normally 5000).  If the second syntax
	is given allocate will allocate a n-dimensional array with the size
	size x size2 x size3 x ... note that this is accomplished by
	allocating an array an filling it with arrrays, and then filling
	them with arrays and so on.

NOTA BENE
	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.

SEE ALSO
	sizeof, pointerp