Cicode Programming Reference > Cicode Function Categories > Page Functions Introduction > PagePeekLast

PagePeekLast

Gets information about a Page at an offset in the PageLast stack (without removing the page from the stack).

Note: This function is not supported in the server process in a multiprocessor environment. Calling this function from the server process results in a hardware alarm being raised.

Syntax

PagePeekLast(iOffset [, iType] )

iOffset:

The offset from the end of the PageLast stack. Offset 0 is the last page on the stack, Offset 1 is the second last page on the stack, etc

iType:

An enumeration representing the type of information required. The default value is 0.

0 - Page Name

1 - Configured Page Title

2 - Active Page Title

Return Value

String value of the requested information, or empty string if no valid result for given arguments.

Related Functions

PagePeekCurrent, PagePopLast, PagePopUp, PagePushLast

See Also

Page Functions