Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Compilation Error when using Array in the Class
Message
 
À
26/08/2002 06:28:07
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00693561
Message ID:
00693564
Vues:
11
Hi Christian,
This error you can ignore or after LPARAMTERS put:
EXTERNAL ARRAY laArray
MartinJ

>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
"Navision is evil that needs to be erazed... to the ground"

Jabber: gorila@dione.zcu.cz
Jabber? Jabbim
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform