Print page number in a header

Rob Cozens rcozens at
Sun Aug 11 09:24:57 EDT 2002

>Using RevPrintText to print texts with several pages, is it possible to
>print the page number in a header or footer?

Salut Pierre,

 From the Rev Dictionary:

>If the textToPrint, headerText, or footerText contains any 
>expressions of the form <%expression%>, the expression is evaluated 
>and replaced with the value before the text is printed.

The expression for page number is "<%pagenumber%>".


Rob Cozens
CCW, Serendipity Software Company

"And I, which was two fooles, do so grow three;
Who are a little wise, the best fooles bee."

from "The Triple Foole" by John Donne (1572-1631)

More information about the Use-livecode mailing list