Help for this page

Select Code to Download


  1. or download this
    use warnings;
    use strict;
    use Fcntl;
    ...
    print USB "\x1Bi\n";
    
    close(USB);
    
  2. or download this
    LPRINT "hello world"; CHR$(&HA);
    LPRINT CHR$(&H1B);"J"; 
    LPRINT CHR$(150);
    LPRINT CHR$(&H1B);"i";
    
  3. or download this
    \x1B is treated as 1 character
    150 is treated as 3 DEC characters
    BASIC CHR$(150) is treated as 1 DEC character