version 6.0
WR O Page number {(area)} Integer
| Parameter | Type | Description | |
| area | Longint | 4D Write area | |
| Function result | Integer | Number of the page currently being printed |
Note 6.5: This command was only maintained for compatibility purposes. We recommend using the WR INSERT PAGE NUMBER command.
Description
The command WR O Page number returns the number of the page that is currently being printed. This function can only be used in the header or footer area of a 4D Write document or in a method called from within the header or footer of a 4D Write document. If WR O Page number is used directly in a 4D Write area, the area name may be omitted.
See Also