Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Compilation Error when using Array in the Class
Message
De
26/08/2002 06:28:07
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Compilation Error when using Array in the Class
Divers
Thread ID:
00693561
Message ID:
00693561
Vues:
48
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform