Mike Yearwood
Toronto, Ontario, Canada
Information générale
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Network:
Windows 2003 Server
>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement