#Stem variables and subst
30-May-93 14:12:03
Sb: #35002-#Stem variables and subst
Fm: John Toebes/SYSOP 70007,3467
To: William Gorder 73547,734
Actually, I finally figured out my problem. This doesn't work:
t.DeepThot = 0
Host = 'DeepThot'
t.host = t.host + 1;
But this does work:
t.DeepThot = 0
t.DeepThot = t.DeepThot + 1;
Thinking a little, I found that this does work:
t.DeepThot = 0
Host = 'DEEPTHOT'
t.host = t.host + 1;
So, my ultimate solution has been to do:
t.DeepThot = 0
Host = 'DeepThot'
Host = Upper(Host)
t.host = t.host + 1
It looks like the problem is related to upper/lower case in the second
level substitution. I couldn't see this documented anywhere.