#PRINT (print a source file) 

Top  Previous  Next

 

#PRINT( file, title )

#PRINT

Prints a file to the current Windows printer.

file

A string constant, template symbol, or expression containing a DOS file specification. This may be a fully qualified DOS pathname.

title

A string constant, template symbol, or expression containing the title to generate for the file.

The #PRINT statement prints the contents of the file to the Windows default printer.

Example:

#FOR(%Module)

 #SET(%ModuleFile,(%Module & '.CLW'))           #!Set to existing module file

#PRINT(%ModuleFile,'Printout ' & %ModuleFile)

#ENDFOR