The PTRARR function returns a pointer vector or array. The individual elements of the array are set to the Null Pointer.
Normally, PTRARR sets every element of the result to the null pointer. It you wish IDL to allocate heap variables for every element of the array instead, set the ALLOCATE_HEAP keyword. In this case, every element of the array will be initialized to point at an undefined heap variable.