TYPE Command
| Visual FoxPro 9.0 SP2 |
| TYPE Command |
| See Also |
|
Displays the contents of a file.
TYPE FileName1 [AUTO] [WRAP] [TO PRINTER [PROMPT] | TO FILE FileName2] [NUMBER] |
Parameters
- FileName1
-
Specifies the name of the file to display. The name must include a file extension.
- AUTO
-
Turns automatic indentation on. When you also include WRAP, TYPE automatically indents wrapped text in each paragraph by the same amount it indents the first line of the paragraph. For example:
-
Wrapped lines are aligned with the tab when a paragraph begins with a tab.
-
Wrapped lines are aligned with the tab when a paragraph begins with a number (or other text) followed by a tab and text.
-
Wrapped lines are indented by the same amount as the first line when the first line of a paragraph is indented with spaces.
-
- WRAP
-
Enables word wrap so that a word that is too long to fit at the end of a line is automatically moved to the next line.
- TO PRINTER [PROMPT]
-
Directs output to the printer.
You can include the optional PROMPT clause to display a print dialog before printing starts. Place the PROMPT keyword immediately after TO PRINTER.
- TO FILE FileName2
-
Directs output to the file specified with FileName2.
- NUMBER
-
Places line numbers at the beginning of each line in the output.
Remarks
See Also
© , 1996-2020 • Updated: 11/10/20
Comment or report problem with topic
Microsoft Visual FoxPro 9 SP2 Help file, VFPX Edition v1.08