PS TEXT FORMAT Reference Manual

Introduction to TFORM
3–160 11387 Tandem Computers Incorporated
Tips
To use the command and the variable in your document, you need to
first enter the TODAY command. At this point you have defined the
variable. You then place SYS_DATE in your input where you want the
current date to appear. If you include SYS_DATE in a header, for
example, your input might look like this
\TODAY SHORT USA
\HEADER " \(SYS_DATE\) | Internal Document | Page # "
When you print your document, TFORM defines the variable with the
system date on that day and inserts that date into your printed output.
Your header would print like this
7/25/86 Internal Document Page 4
In this example, TFORM also inserts the page number; see the
description of the FOOTER or HEADER command for more details.
When you use the CHANGE option, enter the numbers in the order
MM|DD|YY. You must follow a TODAY CHANGE command with a
TODAY command to tell TFORM which format you want for the new
date. TFORM then builds a new SYS_DATE by using the new values
you supply.
If you change the system date then want to reinstate the current actual
date, enter the TODAY CHANGE command with no options. This
resets SYS_DATE to the current date. At the next TODAY command,
TFORM rebuilds the SYS_DATE variable using current values and the
specified format of the TODAY command.