Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can not pass the build.
Message
De
13/10/2000 19:38:56
Jason Mesches
Ocean Systems Engineering Corporation
Carlsbad, Californie, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00429445
Message ID:
00429446
Vues:
16
>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform