Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- QuickBASIC 3.0 - <b>width set output width</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
WIDTH                    Set Output Width

 WIDTH [{#filenum | device},] width[,lines]   or   WIDTH LPRINT width

    Sets the maximum width for a specified output device; QuickBASIC sends
    a carriage return to the device when the specified width has been
    reached.

       width    A numeric expression in the range 0 to 255. A value of 0
                is equivalent to a value of 1.

      device    A string expression. Legal values are "SCRN:", "LPT1:",
                "LPT2:", "LPT3:", "COM1:", "COM2:", and their lowercase
                equivalents.

     filenum    A numeric expression in the range 1 to 15; specifies a
                file opened for output.

       lines    A numeric expression; must be either 25 or 43. This
                argument is valid only if device is "SCRN" or if the
                {#filenum | device} argument is omitted. lines allows you
                to specify 43-line screen mode on systems equipped with an
                EGA.

   ----------------------------------------------------------------------

      Notes:    WIDTH size and WIDTH "SCRN:" size both set the screen
                width. In this case, size must be either 40 or 80 (only 80
                is allowed on the IBM Monochrome Display).

                WIDTH LPRINT width sets the width of all subsequent LPRINT
                output.

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson