General information
Category:
Coding, syntax & commands
Title:
Array not being recognized
Using VFP 6 SP4, I have an array, aErrors, in a class and when I use the ACOPY() command in a method of that class, I'm getting the error message: 'AERRORS() is not an Array':
DEFINE CLASS MyClass AS CUSTOM
aErrors[1,1] = .F.
PROCEDURE MyMethod
lnCount = AERROR(laError)
IF lnCount > 0
*: Offending line of code!!!!!!
ACOPY(laError,THIS.aErrors)
ENDIF
ENDPROC
ENDDEFINE
Thanks,
Dan
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only