To change the text in the status bar (bottom of the ZTERM window), use this escape sequence.
Parameter |
Value or Description |
Lead in |
CHR$(27) CHR$(14) |
Label |
NULL terminated |
Example
PRINT CHR$(27);CHR$(14);"Processing record ";RECORD'NUMBER;CHR$(0);
The text is limited to 255 bytes. Anything over or any non-printable characters will cause this function to abort and not update the status bar.
Keep in mind that the window size is variable and therefore the text may not fit. Also remember that the user can disable the status bar.