Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Array
Message
De
28/03/2001 02:06:37
 
 
À
26/03/2001 16:24:24
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Re: Array
Divers
Thread ID:
00488635
Message ID:
00489331
Vues:
10
Just a suggestion...
Public Array arMonths(12)
For iLoop = 0 to 11
   Store CMonth(goMonth({01/01/2000}, iLoop)) to arMonths[iLoop + 1]
Next
This will avoid spelling mistakes in your months as well! :-)
Only problem is if a different language VFP is installed on the machine that could confuse the issue.

Will
.02
>Public Array arMonths(12)
>store 'Janurary'	to arMonths(1)
>store 'Feburary' 	to arMonths(2)
>store 'March'	to arMonths(3)
>store 'April'	to arMonths(4)
>store 'May'	to arMonths(5)
>store 'June'	to arMonths(6)
>store 'July'	to arMonths(7)
>store 'August'	to arMonths(8)
>store 'September' 	to arMonths(9)
>store 'October' 	to arMonths(10)
>store 'November' 	to arMonths(11)
>store 'December' 	to arMonths(12)
>Then in the the combo properties data tab
>

Will Jones
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform