HTBasic Help
×
Menu
Index
EOL
 
The default End-Of-Line for OUTPUT is a carriage return (CR) followed by a line feed (LF) sent with no END indication and followed by no DELAY. Specifying END causes an interface specific END indication to be sent with the EOL. On the IEEE-488, END causes EOI to be sent with the final character of the EOL. Specifying DELAY causes the computer to pause for the specified number of seconds after sending the EOL and before allowing the program to continue. The exact delay time depends on the timing resolution available on the computer you are using. On the PC, the timing resolution under Windows 10 is about 10--25 milliseconds.  The default EOL (CR/LF) can be restored by specifying EOL OFF.
 
Examples:
ASSIGN @Slow_printer TO 10;EOL CHR$(10) DELAY .1
ASSIGN @Jet TO 701;EOL CHR$(13)&CHR$(10) END
ASSIGN @Ep TO PRT; EOL OFF ! Restore default