Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Initializing an array
Message
 
 
À
27/07/2014 13:12:04
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01604783
Message ID:
01604784
Vues:
69
>Hi All:
>
>What is the syntax for initializing an array without having to do a loop. Say I want to initialize an array with letters of the alphabet.
>
>Something like:
>
>
>myArray = ('A', 'B', 'C'....)
>
>
>Thanks,
>
>Yossi
lcString = 'A,B,C,D'

ALINES(@laArray, lcString, ',')
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform