Mike Yearwood
Toronto, Ontario, Canada
General information
Category:
Coding, syntax & commands
Environment versions
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.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only