Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can not pass the build.
Message
From
13/10/2000 19:38:56
Jason Mesches
Ocean Systems Engineering Corporation
Carlsbad, California, United States
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00429445
Message ID:
00429446
Views:
17
>Hello, everyone,
>
>I have a method called UpdateArrayValues() in a Custom class. The method has a LPARAMETER called laarray. The purpose of this method is to change the values of an array passed by reference. The code looks like this:
>
>PROCEDURE UpdateArrayValues()
>LPARAMETERS laarray
>LOCAL i
>FOR i = 1 to alen(laarray)
> laarray[i]=THIS.pnincrease + laarray[i]
>*-- THIS.pnincrease is a property of the class that hosts the method. --*
>ENDFOR
>ENDPROC
>
>It works fine when I test the class through the Command Window. But, whenever I try to build it, an error message shows up and says "Unknown LAARRAY - Undefined". I removed the line between FOR and ENDFOR, then I was able to build it. But I do need to update the array this way.
>
>Please help!
>Any help will be appreciated.
>
>Dawa

Check out the help on EXTERNAL ARRAY command.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform