Hi Mark
>Thanks Agnes
>
>I was hoping to avoid creating the array ouside of the function if possible.
>This is because I like my functions to be fully encapsulated so I dont have to go and look at them and because it becomes more awkward when having to use them on an entire record set.
Record Set? Means a whole record? It can be stores in an object usen scatter name. So you can pass just the object.
>
>I guess I will end up passing the list as a single string and parsing it into an array in the function. That give me the encapsulation I want but next time I use it I will probably send the wrong type of parameter..sigh
But then you have to find out the types of the single item. This is just an other dead.
>Your use of ALINES is much nicer they must have changed the command between ver 6 and 7
Yeap, they do. (BTW this is out of Ut the last week or so)
>
>
>Thanks for the tip:)
Ypu are welcome
Agnes
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord
Weeks of programming can save you hours of planning.
OffThere is no place like [::1]