Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Easy way to store values to array elements
Message
 
 
À
21/03/2009 20:51:36
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01390324
Message ID:
01390325
Vues:
82
>Hi all.
>I have a fixed idea that exist an 'easy' way to store values to the
>various elements of an array instead of creating many lines
>referring the index of row,col. I don't know if this come from CLIPPER
>time or if exist in FoxPro/VFPRO. So please elucidate me.
>The idea hammering my head is that you can store values in this way
>(or something similar):
>
>&& Creating a two dimensional array with 3 rows and storing strings to the elements
>myArray = {{'Value 1','Value 2'}, {'Value 3', 'Value 4'}, {'Value 5','Value 6'}}
>
I don't think we have this syntax in VFP. It's C++/C#, VB syntax.

See Declaring arrays in C#
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