Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to define a Public dynamic array ?
Message
De
01/06/2009 04:42:20
 
 
À
01/06/2009 04:36:27
Yim Ming Sun Derek
Spacious Design Consultant
Hong Kong, Hong Kong
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01402913
Message ID:
01402916
Vues:
83
>Hi,
>but I don't know the size of the array at the beginning.
>
>then how to define it ?
>
>Derek

You ALWAYS can redefine the array size:
DECLARE MyArray[1]
MyArray[1] = "Array 1"
DISPLAY MEMORY LIKE MyArray*

DECLARE MyArray[2]
MyArray[2] = "Array 2"
DISPLAY MEMORY LIKE MyArray*
...
DECLARE MyArray[1]
MyArray[1] = "Shrink 1"
DISPLAY MEMORY LIKE MyArray*
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform