Interesting open-source project.
A couple more corrections.
Add intrinsic ASCII,
use ASCII to place the message len into the escape sequence.
(oh, and put back in the '&' into the escape sequence)
-------------------------------------------------------------------
Function ascii : shortint; intrinsic;
Procedure getprivmode; intrinsic;
s := #27'&j000L'; {move to line 0?}
i := ascii ( len, -10, s[6] );
i := strlen (s); {length of addressing stuff}
-------------------------------------------------------------------
Now the test should work as desired.
[log in to unmask]
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *