<<

Contents

Search

>>

 

ENDREP

 

 

Instruction

 

 

Syntax:

ENDREP

 

Meaning:

Closes a report.

 

The processing of the current print line is interrupted, the current line is not printed. The group change block (if existent) and the end block (if existent) are printed. After that the report is closed. ENDREP has the effect that the current and all higher macros are left.

 

Sample:

/* Terminate report when CUSTOMER.NUMBER > 10000

IF CUSTOMER.NUMBER > 10000

THEN ENDREP

ENDIF

 

See also:

REPORT

EXTREPORT

REPENDING