[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
##############################################################################
###+------+###################################################################
#+-| TYPE |----------------------------------------+##########################
#| +------+ The TYPE command displays the contents |##########################
#| of a disk file to the screen |##########################
#+-------------------------------------------------+##########################
##############################################################################
##############################################################################
#+--| Syntax |---------------------+##########################################
#| TYPE <C-exp> [TO PRINT] |##########################################
#+---------------------------------+##########################################
##############################################################################
##############################################################################
#######+---| Description |--------------------------------------------+#######
#######| Use TYPE to display the contents of an ASCII text file. Use |#######
#######| the exist() or find_first() function to search for the file. |#######
#######+--------------------------------------------------------------+#######
##############################################################################
##############################################################################
#########+--| Example 1 |-------------------------------------------+#########
#########| * Show the contents of a file. |#########
#########| |#########
#########| TYPE "\autoexec.bat" TO PRINT && Print out the |#########
#########| && autoexec.bat |#########
#########| && file. |#########
#########+----------------------------------------------------------+#########
##############################################################################
##############################################################################
#########+--| Example 2 |-------------------------------------------+#########
#########| * Show contents of a file, and duplicate the |#########
#########| * file in an "alternate" file. |#########
#########| |#########
#########| SET ALTERNATE TO "d:\tmp.txt" |#########
#########| SET ALTERNATE ON |#########
#########| TYPE "\autoexec.bat" && Contents of autoexec.bat |#########
#########| && file will appear in the |#########
#########| && tmp.txt file. |#########
#########| CLOSE ALTERNATE |#########
#########+----------------------------------------------------------+#########
##############################################################################
See Also:
RUN
SET ALTERNATE
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson