Anyone know how to set an arbitrary subset of record elements? (another reason that associative arrays would be nice)
Anyone know how to set an arbitrary subset of record elements? (another reason that associative arrays would be nice)
- Subject: Anyone know how to set an arbitrary subset of record elements? (another reason that associative arrays would be nice)
- From: Timothy Bates <email@hidden>
- Date: Sun, 09 Sep 2001 00:01:30 +1000
hi
I have a record
pSubjectFileParameters : {prefix:"", suffix:"", maxLength:""}
and I want to be able to take a record which contain 1 or more of these
elements and do something like
repeat with anItem in {prefix:"test1", maxLength:"31"}
set <label of anItem> of pSubjectFileParameters to <value of anItem>
end
pSubjectFileParameters
-->
Anyone see how this can be accomplished? It would be easy if this was an
associative array as the pseudo-code would just execute as requested
Of course I can't just go:
set pSubjectFileParameters to {prefix:"test1", maxLength:"31"}
tim