CompuServe Messages

#Stem variables and subst

    29-May-93 22:09:30
Fm: William Gorder 73547,734
To: John Toebes/SYSOP 70007,3467
Is the error you're getting something like "Arithmetic Mismatch Error"? If so, I believe that the problem is that the stem variables are not initialized to be numeric, e.g., time. = 0. Therefore when you attempt to perform: time.host = time.host + thistime The interpreter tries to add thistime (which is numeric, I assume) to time.host (which, if you've failed to initialize it, contains the string "TIME.COUNT" <I think>). Boom, arithmetic mismatch. I wrote a simple ARexx program to calculate total bytes and bytes per second from my node (wlgami.cmhnet.org) a while back and ran into the same problem. If you'd like, I could send this program to you (it's not very long, ~60 lines). Hope this helps, Bill