Command Reference : Function Reference : Function Reference: P
  
 
@pagecount
Number of pages in the workfile.
Syntax: @pagecount
Return: integer
Returns the number of pages in the current workfile.
Examples
scalar pgs = @pagecount
Cross-references
See also @pageexist and @pagelist.