[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

Dynamic Array Names



SQR-USERS,

Can the array names be dynamic?
I have a generic array input routine which would work much more
smoothly if I could get it to work with a changeable ARRAY NAME in the
GET and PUT commands.
I have had to use an 'if' command to distinguish which array to
update.


if $array-name = 'dparray'
   put $something into dparray(#record)
end-if
if $array-name = 'wcarray'
   put $something into wcarray(#record)
end-if


I am new to SQR.  I have taken the beginners and advanced courses, but
still feel I have allot of learning to do.

Thanks for any help you may suggest.
Angel GUZMAN