Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Array not being recognized
Message
From
24/12/2000 16:44:44
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
24/12/2000 16:14:54
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00456704
Message ID:
00456709
Views:
26
>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

Dan,
Add dimension :
DEFINE CLASS MyClass AS CUSTOM
   dimension aErrors[1,1]
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform