>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)
Thanks to everyone for your help. I relayed the info to Cart and he is very grateful !
Tommy Tillman A+ NetWork+ MCP