Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper 5.3 . Guide To CA-Clipper - <b>type</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 TYPE
 Display the contents of a text file
------------------------------------------------------------------------------
 Syntax

     TYPE <xcFile> [TO PRINTER] [TO FILE <xcOutFile>]

 Arguments

     <xcFile> is the name of the file, including extension, to be
     displayed to the screen.  This argument may be specified as a literal
     file name or as a character expression enclosed in parentheses.
     <xcFile> must be specified with an extension if it has one.

     TO PRINTER echoes the display to the printer.

     TO FILE <xcOutFile> echoes the display to the specified file.
     <xcOutFile> may be specified either as a literal file name or as a
     character expression enclosed in parentheses.  If no extension is
     specified, .txt is added.

 Description

     TYPE is a console command that displays the contents of a text file to
     the screen, optionally echoing the display to the printer and/or another
     text file.  To suppress output to the screen while printing or echoing
     output to a file, SET CONSOLE OFF before the TYPE invocation.

     If <xcFile> is specified without a path and/or drive designator, TYPE
     searches the current DEFAULT directory, and then, the current PATH.  If
     <xcOutFile> is specified without a path and/or drive designator, TYPE
     creates the file in the current DEFAULT directory.

     TYPE performs no special formatting on the listing.  There are no
     special headings or pagination when the output is sent to the printer.

     To pause output, use Ctrl-S.  Note that you cannot interrupt a listing
     with Esc.

 Examples

     .  This example illustrates the TYPE command:

        TYPE Main.prg TO PRINTER

 Files   Library is EXTEND.LIB.


See Also: COPY FILE SET DEFAULT SET PATH SET PRINTER

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