Hello,
i get strange compilation error when i want to use an array as parameter to one of the functions of my class
e.g.:
Function Blablabla
LPARAMETERS laArray
LOCAL lnArraySize, someString
lnArraySize = ALEN(laArray,1)
someString = ""
FOR xj = 1 TO lnArraySize
someString = someString + someFunction(laArray[xj,2]) + someOtherString
ENDFOR
RETURN someString
ENDFUNC
the error is:
"Unknown LAARRAY - Undefined"
when i just issue "set procedure to myLibrary.prg" and create an instance of the class in the command window and then pass in an array to the function it's works just fine
how can i get rid of compilation error ?
TIA
Christian