Salesforce

EOP (Magic xpa 2.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

EOP (Magic xpa 2.x)

Reports whether the line counter of the current page in the specified I/O device is greater than the lines parameter specified for it. If the lines parameter is not used, Magic xpa uses the lines parameter specified for the printer associated with the I/O device. EOP (end of page) is raised if Form lines is specified and Magic xpa line count is greater than Form lines.

Syntax:

EOP(generation,device)

Parameters:

generation: A number that represents the task's hierarchic position in the runtime task tree. 0 represents the current task, 1 its immediate ancestor, and so on.

device: A number that represents the sequence number of the output file in the current task.

Returns:

Logical True if the specified I/O device is at the EOP, False if not.

Usages:

The EOP function together with the Form Output operation's Page=Skip property, allows you to manually control what happens during a page break.

Example:

EOP(0,1) returns TRUE at the end of a page, while processing the first output file in the current task.

Note:

The function is useful only when using Page=Skip in the Form Output operation.

See also:

EOF, Line, Page

The Online and Rich Client Samples projects (program RP12 and RRP12)

Reference
Attachment 
Attachment