TotalPages$

 

Purpose:

Returns the total number of pages. The returned string is replaced by the total number of pages when printing.

Please note when using this function that the timing behavior of the print process can be affected. A progress bar may reach 100% faster, but because of further processing of the output, there may be a delay before the actual printout is produced. No calculations may be performed with the result of this function.

Parameter:

-

Return value:

String

Example:

"Page "+Page$()+"/"+TotalPages$()           Result: Page 1/3