Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can an array available in all procedures like a variable
Message
De
26/04/2000 12:34:29
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00363356
Message ID:
00363633
Vues:
20
VFP 6 SP3:

This.AddProperty('aArray[1]')
n=7
DIMENSION This.aArray[n]

*** No problemo. I use the heck out of this method of dynamically adding arrays.





>I've never tried it, so I don't know for sure, but take a look at ADDOBJECT.
>
>Are you sure you can't redim it? I thought I just got a message from Fred saying you can... Did I mis-read it?
>
>Michelle
>
>
>>Well, I found out that you can't redimension an array defined as property. Just wondering is there a way to create a property dynamically when I enter to form?
------------------------------------------------
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform