Reply To: Error with macro and array parameters

Home Forums Problems and solutions in GDL Object design Error with macro and array parameters Reply To: Error with macro and array parameters

#2798
James Murray
Participant

This solved it, though I don’t see why:

DIM junkArray[]
PUT 0, 0, 15,
... x3
0, 0, -1

FOR k=1 TO NSP
junkArray[k]=GET(1)
NEXT k

CALL theMacro PARAMETERS array2=junkArray, etc

Happy to dismiss the error, but I don’t see why one value in the array wasn’t enough.

James M