Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Array Problem
Message
De
21/08/2013 14:36:49
Mike Yearwood
Toronto, Ontario, Canada
 
 
À
21/08/2013 14:06:37
Emerson Reed
Folhamatic Tecnologia Em Sistemas
Americana - São Paulo, Brésil
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP3
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01580886
Message ID:
01580918
Vues:
53
>You also can do this way:
>
>getArrayElement.prg
>LPARAMETERS lnElement,taArray
>DIMENSION taArray[ALEN(taArray)] && prevents compiler error.
>RETURN taArray[m.lnElement]
>
>and I'd call it like this
>
>?GetArrayElement(5,@laWarnLbl)

That's a very dangerous idea. You are touching/affecting the original array possibly turning a multi-column array into a single column array. EXTERNAL command is exactly what it is for.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform