CompuServe Messages

#String surprise

    16-Jul-85 02:38:59
Sb: #String surprise
Fm: Tim Peters 72227,2416
To: Tom Bennett 72136,1443
Tom, this turkey may surprise you: 1 X$="abcde" 2 MID$(X$,2)=X$ 3 PRINT X$ (No, it WON'T change the program itself – it's harmless.) For some reason, what DOES happen didn't surprise me – knew more about it a year ago. Something like: RHS str vrbl refs yield just the descriptor (no copy) until they're USED (as an OPERAND ) in the RHS(?). Whatever, if silicon virus reduces your ROM2's to sand & you're back-to-BASIC dumpers, you now know how to avoid the trashman! obscurely yours, tim *** There is a reply: 85677 Enter command, N for next message or <ENTER> for menu: