Program PARM;
{***************************************************************}
{ Parameter Manipulation }
{ for Pascal/Z programs }
{ this code is designed to facilitate the coding of parsing }
{ routines embedded in Pascal/Z programs }
{***************************************************************}
Const PARM_LEN = 12 ; {Arbitrary max length for any parameter}
LINE_LEN = 255; {Max buffer size allowed by Pascal/Z }
{for disk files }
Type SET_CHAR = set of char ;
PARAMTER = Record
PARM_STR : 1..255 ;
PARM_END : 1..255
end ;
LINE_IDX = 1..LINE_LEN ;
CARD_MGE = Array [LINE_IDX] of char ;
BUFFER = Record
CHARS : CARD_MGE ;
CUR_PTR : LINE_IDX ;
PARM : PARAMTER
end ;