TEXTS Subcommand (OUTPUT MODIFY Command)
The TEXTS
subcommand applies changes to text objects
that meet the selection criteria. This includes HEADINGS
, LOGS
, TEXTS
,
WARNINGS
, and PAGETITLES
specified
on the SELECT
subcommand.
TEXT Keyword
The TEXT
keyword
modifies the text of text objects. The keyword is followed by an equals
sign and a quoted value. You can also include special variables to
insert date, time, and index values.
- )DATE
- Current date in the form dd-mmm-yyyy.
- )ADATE
- Current date in the form mm/dd/yyyy.
- )SDATE
- Current date in the form yyyy/mm/dd.
- )EDATE
- Current date in the form dd.mm.yyyy.
- )TIME
- Current 12-hour clock time in the form hh:mm:ss.
- )ETIME
- Current 24-hour clock time in the form hh:mm:ss.
- )INDEX
- The index as specified on the
INDEXING
subcommand.
- )LABEL
- The current text of the text object. This setting allows you to
add other text or special variable values to the existing text. Without
)LABEL
, the original text is overwritten.
Example
OUTPUT MODIFY
/SELECT LOGS
/TEXTS
TEXT=")EDATE )LABEL".
In this example, the current date is added to all log objects.
FONT Keyword
The
FONT
keyword
specifies the font to use.- The keyword is followed by an equals sign and the name of a font that is enclosed in quotation marks.
- If the specified font is not available, this setting is ignored.
FONTSIZE Keyword
The FONTSIZE
keyword
specifies the font size (in points). The keyword is followed by an
equals sign and a positive number.
STYLE Keyword
The STYLE
keyword
specifies the font style.
- The keyword is followed by an equals sign and a list of styles.
- Valid style values are
REGULAR
,BOLD
,ITALIC
, andUNDERLINE
. - Style specifications are cumulative. If the text is already italic,
the
BOLD
keyword makes the text italic and bold. - The
REGULAR
keyword removes any special style characteristics. When used with other style keywords, it must be specified first; otherwise any previous style specifications are removed. For example,STYLE=REGULAR BOLD
results in bold text without any other special style characteristics, butSTYLE=BOLD REGULAR
results in text that is not bold.
TEXTCOLOR Keyword
The TEXTCOLOR
keyword
specifies the text color.
- The keyword is followed by an equals sign and a color keyword
or
RGB(r, g, b)
, where r, g, and b are numeric red, green, and blue color values. The numeric values are integers between 1 and 255. - Valid color keywords are
BLACK, BLUE, CYAN, DARKGRAY, GRAY, GREEN, LIGHTGRAY, MAGENTA, ORANGE, PINK, RED, WHITE, YELLOW
.