Stem variables and subst
24-May-93 08:49:48
Sb: #34920-Stem variables and subst
Fm: Syndesis 76004,1763
To: John Toebes/SYSOP 70007,3467
What, you didn't find the ARexx manual to be as lucid and explanatory as, say,
K&R? 🙂 "Stem" is in the index under "symbol tokens: stem, 21".
This worked for me:
data.john = 'J'
count.john = 10
data.rick = 'R'
count.rick = 20
say data.john count.john ',' data.rick count.rick
pull user
say data.user count.user
Now, that's not to say that it didn't take me a while to get this to work the
way I thought it should. I think there's something that's not apparent to us
linear, non-associative programmers – maybe it has to do with the difference
.. hmm, no, that's not it. 🙂 From the examples in the ARexx book, and in
the 'Rexx Handbook', it looks like you should be able to set the 'user'
variable and retrieve the 'count'. That works in my example, but in yours
where you're setting 'host' to 'mine' or 'them' it's not working.