Skip to Content
LibraryCambridge Z88User GuideAppendix E - PipeDream file format

Appendix E - PipeDream file format

The PipeDream file format is designed to facilitate manipulation by other programs. Apart from carriage return characters which are used as separators, no control characters or characters above 127 in value appear in the file (unless they have been explicitly typed in). The files are sequential, and can be edited by any text editor.

PipeDream constructs

Information about the structure of the file is stored in constructs consisting of one or more alphabetic characters between percent signs. Additional information relevant to the construct may be included before the final percent sign.

The file begins with a group of Options Page constructs giving the values of the Options Page parameters for the file. This is followed by the main body of the file.

Each column in the file is preceded by a Column construct giving details about the column, and followed by an entry for each slot in the column.

Each slot entry may include a collection of constructs giving details about the slot, and is terminated by a carriage return character.

Options Page construct

%OP%parameter value cr

parametertwo characters identifying the parameter
valuethe value of the parameter
crcarriage return character

The various parameter values are:

AMAuto/manual
BMBottom margin
BOBorders
DETitle
DPDecimal places
FMFooter margin
FOFooter
HEHeader
HMHeader margin
IWInsert on wrap
JUJustify
LMLeft margin
LPLeading characters
LSLine spacing
MBMinus/brackets
PAPages
PLPage length
PSPage no. start
RCRows/columns
TMTop margin
TNText/numbers
TPTrailing characters
WRWrap

Column construct

%CO:co1umn,width,wrap-width%

columnletter identifying the column
widthdecimal number giving the column width
wrap-widthdecimal number giving the wrap-width

These constructs can appear anywhere in the entry for each slot:

%B%brackets format
%C%centre align
%Dn%decimal places, n gives the number
%DF%floating format
%F%free align
%Hn%highlight character: n gives the number
%JL%justify left
%JR%justify right
%L%left align
%LC%leading character format
%LCR%LCR align
%Pn%page break: n gives the argument, 0 for unconditional
%PC%percent character
%R%right align
%TC%trailing character format
%V%slot is a number slot

General format:

construct text construct text ... cr

constructone of the constructs above
textASCII characters being the slot contents
crcarriage return character
Last updated on