GetPageCount Method (PICT)


PLBCMP GUI Only

 

The GetPageCount method returns the number of pages in an PICT object. The method uses the following format:

 

[label]

{object}.GetPageCount

[GIVING {return}]

 

Where:

label

Optional. A Program Execution Label.

object

Required. A PICT object whose pages are counted.

return

Optional. A Numeric Variable that returns the number of pages.

Flags Affected: EOS, OVER, ZERO

Note the following:

  1. Upon completion, {return} will contain the number of pages in the object.

  2. If the value returned is zero, the ZERO Condition Flag is set.

  3. If {return} is too small to contain the count of pages, the OVER Condition Flag is set.

  4. The EOS Condition Flag is always cleared.

  5. This method is not available when using the PL/B Web Server.

 

 

See Also: Method Syntax, PICT Methods

 



PL/B Language Reference PICT Methods GetZBottom Method (PICT)