PXRMTEXT ; SLC/PKR - Text formatting utility routines. ;03/25/2009
Source file <PXRMTEXT.m>
Name | Comments | DBIA/ICR reference |
---|---|---|
FORMAT(LM,RM,NIN,TEXTIN,NOUT,TEXTOUT) | ;Format the text in TEXTIN so it has
|
|
COLFMTA(FMTSTR,INPUT,PC,NL,OUTPUT) | ;Columnar text formatter.
|
|
COLFMT(FMTSTR,TEXTSTR,PC,NL,OUTPUT) | ;Columnar text formatter.
|
|
CHECKLEN(WORD) | ;Check to see if adding the next word makes the line too long.
|
|
NEWLINE | ;Put TEXT on a new line to the output, make sure it does not end
|
|
LMFMTSTR(VALMDDF,JSTR) | ;The List Manager variable VALMDDF contains the
|
|
BLANK | ;Add a blank line (line containing just " ") to the output.
|
|
FORMATS(LM,RM,TEXTLINE,NOUT,TEXTOUT) | ;Take a single line of input text
|
|
Name | Field # of Occurrence |
---|---|
$$LJ^XLFSTR | COLFMT+24, COLFMT+29, COLFMT+35, COLFMTA+22, COLFMTA+27, COLFMTA+33 |
Name | Line Occurrences |
---|---|
$$ | COLFMT+23, COLFMT+28, COLFMTA+21, COLFMTA+26 |
BLANK | FORMAT+35 |
CHECKLEN | CHECKLEN+22, FORMAT+43, FORMAT+46, FORMAT+47 |
FORMAT | FORMATS+4 |
FORMATS | COLFMT+26, COLFMTA+24 |
NEWLINE | CHECKLEN+11, CHECKLEN+16, CHECKLEN+20, FORMAT+35, FORMAT+44, FORMAT+49 |
Name | Field # of Occurrence |
---|---|
^ | COLFMT+23, COLFMT+28, COLFMTA+21, COLFMTA+26 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
ACHAR | FORMAT+7~, FORMAT+18*, FORMAT+19, FORMAT+22 |
ALLWSP | FORMAT+7~, FORMAT+15*, FORMAT+19*, FORMAT+24 |
CHAR | FORMAT+7~, FORMAT+17*, FORMAT+18 |
CLEN | NEWLINE+8*, BLANK+2*, CHECKLEN+4, CHECKLEN+7*, CHECKLEN+10, CHECKLEN+13*, CHECKLEN+14, CHECKLEN+18*, FORMAT+7~, FORMAT+31* |
CN | LMFMTSTR+7~, LMFMTSTR+14*, LMFMTSTR+18*, LMFMTSTR+20, LMFMTSTR+22 |
COL | LMFMTSTR+7~ |
COL( | LMFMTSTR+12*, LMFMTSTR+17, LMFMTSTR+19 |
COLOUT | COLFMT+9~, COLFMTA+3~, COLFMTA+14! |
COLOUT( | COLFMT+29*, COLFMT+34, COLFMTA+27*, COLFMTA+32 |
COLOUT(1 | COLFMT+24*, COLFMTA+22* |
END | FORMAT+7~, FORMAT+37*, FORMAT+39*, FORMAT+40 |
ENTRY | COLFMT+9~, COLFMT+19*, COLFMT+23, COLFMT+28, COLFMTA+3~, COLFMTA+17*, COLFMTA+21, COLFMTA+26 |
FMT | COLFMT+9~, COLFMT+13*, COLFMT+14, COLFMT+15, COLFMT+16, COLFMTA+3~, COLFMTA+7*, COLFMTA+8, COLFMTA+9, COLFMTA+10 |
FMTSTR | COLFMT~, COLFMT+11, COLFMT+13, COLFMTA~, COLFMTA+5, COLFMTA+7, LMFMTSTR+7~, LMFMTSTR+15*, LMFMTSTR+21*, LMFMTSTR+25* , LMFMTSTR+26 |
IND | COLFMT+9~, COLFMT+12*, COLFMT+13, COLFMT+14, COLFMT+15, COLFMT+16, COLFMT+17, COLFMT+18*, COLFMT+19, COLFMT+20 , COLFMT+22, COLFMT+23, COLFMT+24, COLFMT+25, COLFMT+26, COLFMT+28, COLFMT+29, COLFMT+31*, COLFMT+34, COLFMT+36 , COLFMTA+3~, COLFMTA+6*, COLFMTA+7, COLFMTA+8, COLFMTA+9, COLFMTA+10, COLFMTA+11, COLFMTA+16*, COLFMTA+17, COLFMTA+18 , COLFMTA+20, COLFMTA+21, COLFMTA+22, COLFMTA+23, COLFMTA+24, COLFMTA+26, COLFMTA+27, COLFMTA+29*, COLFMTA+32, FORMAT+7~ , FORMAT+11*, FORMAT+12, FORMAT+20, FORMAT+22, FORMAT+23, FORMAT+24, FORMAT+29*, FORMAT+32*, FORMAT+35, FORMAT+36 , FORMAT+38, FORMAT+39, LMFMTSTR+7~, LMFMTSTR+9*, LMFMTSTR+10*, LMFMTSTR+11 |
INDENT | FORMAT+7~, FORMAT+27*, FORMAT+29 |
INDSTR | NEWLINE+4, NEWLINE+8, BLANK+2, CHECKLEN+13, CHECKLEN+18, FORMAT+7~, FORMAT+28*, FORMAT+29*, FORMAT+31 |
INPUT | COLFMTA~, COLFMTA+13, COLFMTA+18 |
JC | LMFMTSTR+7~, LMFMTSTR+22*, LMFMTSTR+23*, LMFMTSTR+24 |
JND | COLFMT+9~, COLFMT+27*, COLFMT+28, COLFMT+29, COLFMT+33*, COLFMT+34, COLFMT+35, COLFMTA+3~, COLFMTA+25*, COLFMTA+26 , COLFMTA+27, COLFMTA+31*, COLFMTA+32, COLFMTA+33, FORMAT+7~, FORMAT+16*, FORMAT+17, FORMAT+20 |
JSTR | LMFMTSTR~, LMFMTSTR+13 |
JUS | COLFMT+9~, COLFMTA+3~ |
JUS( | COLFMT+14*, COLFMT+15, COLFMT+16, COLFMT+19, COLFMTA+8*, COLFMTA+9, COLFMTA+10, COLFMTA+17 |
JUSSTR | LMFMTSTR+7~, LMFMTSTR+13*, LMFMTSTR+22 |
LEN | COLFMT+9~, COLFMT+21*, COLFMT+22, COLFMT+25, COLFMTA+3~, COLFMTA+19*, COLFMTA+20, COLFMTA+23 |
LENWORD | CHECKLEN+2~, CHECKLEN+3*, CHECKLEN+4, CHECKLEN+6*, CHECKLEN+7, CHECKLEN+12*, CHECKLEN+13, CHECKLEN+15, CHECKLEN+17*, CHECKLEN+18 , CHECKLEN+21 |
LM | FORMAT~, FORMAT+25*, FORMAT+26, FORMAT+27, FORMATS~, FORMATS+4 |
LWSP | FORMAT+8~ |
LWSP( | FORMAT+20*, FORMAT+22*, FORMAT+23*, FORMAT+24*, FORMAT+35, FORMAT+38, FORMAT+39 |
NCOL | COLFMT+9~, COLFMT+11*, COLFMT+12, COLFMT+18, COLFMT+33, COLFMTA+3~, COLFMTA+5*, COLFMTA+6, COLFMTA+16, COLFMTA+31 |
NIN | FORMAT~, FORMAT+6, FORMAT+11, FORMAT+32 |
NL | COLFMT~, COLFMT+37*, COLFMTA~, COLFMTA+12*, COLFMTA+34* |
NLO | COLFMT+9~, COLFMT+26, COLFMT+27, COLFMT+30, COLFMTA+3~, COLFMTA+24, COLFMTA+25, COLFMTA+28 |
NOUT | NEWLINE+7*, BLANK+1*, FORMAT~, FORMAT+6*, FORMAT+30*, FORMATS~, FORMATS+4 |
NROW | COLFMT+9~, COLFMT+11*, COLFMT+30*, COLFMT+31, COLFMT+37, COLFMTA+3~, COLFMTA+15*, COLFMTA+28*, COLFMTA+29 |
NUM | COLFMTA+3~, COLFMTA+12*, COLFMTA+13*, COLFMTA+18 |
NWSP | FORMAT+8~, FORMAT+15*, FORMAT+20*, FORMAT+22*, FORMAT+23, FORMAT+37*, FORMAT+38*, FORMAT+39 |
OUTPUT | COLFMT~, COLFMTA~, COLFMTA+34 |
OUTPUT( | COLFMT+36* |
PC | COLFMT~, COLFMT+23, COLFMT+28, COLFMTA~, COLFMTA+21, COLFMTA+26 |
PLCOL | LMFMTSTR+7~, LMFMTSTR+14*, LMFMTSTR+20*, LMFMTSTR+21* |
RM | FORMAT~, FORMAT+26, FORMATS~, FORMATS+4 |
SCOL | LMFMTSTR+7~, LMFMTSTR+14*, LMFMTSTR+16*, LMFMTSTR+17*, LMFMTSTR+19, LMFMTSTR+21 |
SP | COLFMT+10~, COLFMTA+4~, LMFMTSTR+7~, LMFMTSTR+14*, LMFMTSTR+21* |
SP( | COLFMT+16*, COLFMT+17, COLFMT+24, COLFMT+29, COLFMTA+10*, COLFMTA+11, COLFMTA+22, COLFMTA+27 |
SPLEFT | CHECKLEN+2~, CHECKLEN+14*, CHECKLEN+15, CHECKLEN+19, CHECKLEN+21 |
START | FORMAT+8~, FORMAT+39*, FORMAT+40 |
TEMP | COLFMT+10~, COLFMT+20*, COLFMT+21, COLFMT+23*, COLFMT+24, COLFMT+26, COLFMT+28*, COLFMT+29, COLFMTA+4~, COLFMTA+18* , COLFMTA+19, COLFMTA+21*, COLFMTA+22, COLFMTA+24, COLFMTA+26*, COLFMTA+27, FORMAT+8~, FORMAT+12*, FORMAT+13*, FORMAT+14 , FORMAT+17, FORMAT+36*, FORMAT+40, LMFMTSTR+7~, LMFMTSTR+11*, LMFMTSTR+12, LMFMTSTR+24*, LMFMTSTR+25 |
TEXT | NEWLINE+4, NEWLINE+5, NEWLINE+6*, NEWLINE+7, NEWLINE+8*, BLANK+2*, CHECKLEN+7*, CHECKLEN+13*, CHECKLEN+18*, CHECKLEN+19* , COLFMT+10~, COLFMT+32*, COLFMT+34*, COLFMT+35*, COLFMT+36, COLFMTA+4~, COLFMTA+30*, COLFMTA+32*, COLFMTA+33*, COLFMTA+34 , FORMAT+8~, FORMAT+31* |
TEXTIN | FORMAT~, FORMATS+2~, FORMATS+4 |
TEXTIN( | FORMAT+12, FORMAT+36 |
TEXTIN(1 | FORMATS+3* |
TEXTLINE | FORMATS~, FORMATS+3 |
TEXTOUT | COLFMT+10~, COLFMT+26, COLFMTA+24, FORMAT~, FORMATS~, FORMATS+4 |
TEXTOUT( | NEWLINE+7*, BLANK+1*, COLFMT+28, COLFMTA+26 |
TEXTSTR | COLFMT~, COLFMT+20 |
TLEN | NEWLINE+2~, NEWLINE+5*, NEWLINE+6, CHECKLEN+2~, CHECKLEN+4*, CHECKLEN+5, FORMAT+8~, FORMAT+14*, FORMAT+16, FORMAT+22 |
U | COLFMT+11, COLFMT+13, COLFMT+20, COLFMTA+5, COLFMTA+7, COLFMTA+18, LMFMTSTR+12, LMFMTSTR+21 |
VALMDDF | LMFMTSTR~ |
VALMDDF( | LMFMTSTR+10, LMFMTSTR+11 |
W1 | FORMAT+8~, FORMAT+42*, FORMAT+43 |
W2 | FORMAT+8~, FORMAT+45*, FORMAT+46 |
WIDTH | CHECKLEN+5, CHECKLEN+10, CHECKLEN+14, COLFMT+10~, COLFMTA+4~, FORMAT+8~, FORMAT+26*, LMFMTSTR+7~, LMFMTSTR+19*, LMFMTSTR+20 , LMFMTSTR+21, LMFMTSTR+24 |
WIDTH( | COLFMT+15*, COLFMT+17, COLFMT+22, COLFMT+23, COLFMT+25, COLFMT+26, COLFMT+28, COLFMTA+9*, COLFMTA+11, COLFMTA+20 , COLFMTA+21, COLFMTA+23, COLFMTA+24, COLFMTA+26 |
WORD | CHECKLEN~, CHECKLEN+3, CHECKLEN+6*, CHECKLEN+7, CHECKLEN+12*, CHECKLEN+13, CHECKLEN+17*, CHECKLEN+18, CHECKLEN+19, CHECKLEN+21* , CHECKLEN+22, FORMAT+8~, FORMAT+40*, FORMAT+41, FORMAT+42, FORMAT+45, FORMAT+47 |
WPSP | COLFMT+10~, COLFMTA+4~ |
WPSP( | COLFMT+17*, COLFMT+35, COLFMTA+11*, COLFMTA+33 |
>> XLFSTR( | COLFMT+23, COLFMT+28, COLFMTA+21, COLFMTA+26 |