home search

Commands

These are extra things you can do to your text within the document to enhance the functionality.

 

- F1 Help Menu -

- F1 Help Menu -

 

The following commands can be used for Formatting:

%B<##>

Sets Bottom Margin to ##

%BREAK <var>;

Print the Rest of the line IF the VAR changes.

%C<xx>

Print the character of ASCII value xx

%D#

Changes Date Format

%END

These lines are printed at the Bottom of a Document

%F

Prints data as it is in the Database

%FL

Formats data without trailing spaces

%FP

Prints data with a Single space after it

%H<x>

Sets Heading at the Top of a Document. X is Heading No

%IF <exp>;

If the 'exp' is True the line IS printed

%JB

Justifies Both Left and Right Margins

%JC

Centre Justifies all lines that follow

%JL

Left Justify all lines that follow

%JR

Right justifies all lines that follow

%M<##>

Sets Left Margin to ##

%N

A Note - Text on this line is NOT printed

%NP

Forces a NEW Page

%OPEN

This Line is only printed at the start of a Report

%T<##>

Sets TOP Margin to ##. T04 = Margin of  4

%W<##>

Sets Width of Document to ##

%^

Marks a Fixed Tabulation for a Paragraph

%.

Marks the End of a Paragraph

%(

Closes up blank lines

%)

Stops Closing up blank lines

 

The following commands can be used for Columns:

%L<###>

Locates to a Column No xxx

%PC

Prints Data in a Column

%PCTOTALS

Prints Columns Totals

%SC

Sets a Column in a Report

%SUMC

Sums Data printed in Columns

%SUBC

Subtracts Dated printed in Columns

%ZERO

Zeros Data summed in Columns

 

The following commands can be used for Data:

%CANCEL

Cancels Data printed on the current Line

%mdf

Gets the First line of data from a list

%md

Gets the Next line of data from a list

%GOTO <!x>

Jumps to a line with the correct Label

!x

A line Label where 'x' is in the range of A  -  Z

%GOSUB <!x>

Jumps to a line with the correct Label and then Returns

%STOP

This forces the Report to start at the Top with New Data

%X <var> = <exp>;

The Value of the Expression is stored in Local Variable

 

The following commands can be used for Other Formatting & Configuration:

%BOX#,#,#,#,#,#

Creates a BOX

%DOT<##>

Creates a line of ## dots

%LINE -

Prints a line of '-'  change character as required

%LINEBREAK<##>

Breaks lists after so many blank lines

%FONT##

Font number (05  33)

%PCH

Print column heading

@PAGENO

Inserts a Page Number