Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Array As a Property
Message
De
20/04/1998 15:18:33
 
 
À
20/04/1998 15:03:30
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00093460
Message ID:
00093467
Vues:
30
>I have created an array, local in scope, within a method of a form. Now I want to save the array to a property of that form so that I can access it from other methods. I tried:
>THISFORM.aArray = aMyNewArray.
>Didn't work--When I look for THISFORM.aArray[1] I am told it isn't an array.
>
>What am I doing wrong??
>
>TIA.
>
>John


Did you define the form property as an array to begin with? When you added the new property, did you add it like this: aArray(1,0)

That could explain it.
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform