COLFMT(FMTSTR,TEXTXTR,PC,.NL,.OUTPUT) |
This entry point is a columnar text formatter.
|
VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
FMTSTR |
Input |
Format string - ^ separated string for each column
in the output. For example, 35R2 defines a right justified column 35
characters wide with 2 blank spaces following. Columns can be centered (C)
left justified (L) or right justified (R).
|
TEXTSTR |
Input |
Text string to be formatted, the text for each column
is separated by "^".
|
PC |
Input |
This is the character used to 'pad' the text so it
fills the width of the column. Typically, this is the space character.
|
NL |
Output |
This is the number of lines of formatted text
returned in OUTPUT, passed by reference.
|
OUTPUT |
Output |
Array containing the formatted text, passed by
reference.
|
|
FORMATS(LM,RM,TEXTLINE,.NOUT,.TEXTOUT) |
This entry point takes a single line of text and
formats it.
|
VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
LM |
Input |
This is the left margin.
|
RM |
Input |
This is the right margin.
|
TEXTLINE |
Input |
This is the line of text that is to be formatted.
|
NOUT |
Output |
This is the number of lines of formatted text; passed
by reference.
|
TEXTOUT |
Output |
This array contains the formatted text; passed by
reference.
|
|
$$LMFMTSTR(VALMDDF,JSTR) |
The List Manager variable VALMDDF contains the list
template caption column formatting information. It contains the starting
column and the width in the form VALMDDF(COLUMN NAME)=COLUMN
NAME^COLUMN^WIDTH^CAPTION ^VIDEO^SCROLL LOCK. JSTR, which is optional, is the
justification for each column (L=left, C=center, R=right) the default is
center. Using this information, this routine builds and returns the format
string for the column formatter COLFMT^PXRMTEXT.
|
VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
VALMDDF |
Input |
List Manager VALMDDF variable.
|
JSTR |
Input |
Justification for each column: L=left, C=center,
R=right.
|
|