|
LPC Library Functions: allocate |
|
NAMEallocate() - allocate an array
SYNOPSISmixed *allocate( int size, void | mixed v );
DESCRIPTIONAllocate an array of 'size' elements. The number of elements must be >= 0 and not bigger than a system maximum (usually ~10000). All elements are initialized to 0. If the optional second argument 'v' is included, allocate() allocates an array of 'size' elements where each element numbered 'i' is set to evaluate(v, i). 'i' is in the range 0..size-1.
SEE ALSO |
|
Page design by Frank Jacquette & Tim Hollebeek Copyright (C) 1998 Tim Hollebeek & Frank Jacquette |
|