ARRFalloc
Synopsis
INTEGER FUNCTION ARRFalloc (N1,type,number_of_elements,N2)
INTEGER N1, N2
INTEGER type, number_of_elementsDescription
For a complete description of this function, see ARRalloc.On 64-bit platforms, ARRFalloc actually returns an INTEGER*8.Arguments
typen integer code specifying the array's data type. AVS/Express provides the following symbolic constants, defined in <avs/dtype.h>:
number_of_elementsN1N2Returned valueExamples
none.#include <avs/omf.inc> INTEGER iaddr C On 64-bit platforms, iaddr should be INTEGER*8 ... iaddr = ARRFalloc(0,DTYPE_FLOAT,2000,0) IF (iaddr .EQ. 0) PRINT*,'Error allocating memory area'See Also