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

PagePushLast

Places a page at the end of the PageLast 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

PagePushLast(Page)

Page:

The Page Name or Page Number (of the page) to place at the end of the PageLast stack.

Return Value

0 (zero) if successful, otherwise an error is returned.

Related Functions

PageLast, PagePeekCurrent, PagePeekLast, PagePopLast, PagePopUp

Example

PageDisplay("MIMIC1");
! Displays page "MIMIC1".
PageDisplay("MIMIC2");
/* Displays page "MIMIC2" and places page "MIMIC1" onto the PageLast stack. */
PageDisplay("10");
! Displays page "10" and places page "MIMIC2" onto the PageLast stack.
PagePushLast("TREND1");
! Places page "TREND1" onto the PageLast stack.
PageLast();
/* Displays the last page on the stack, that is page "TREND1" and removes it from the stack. */
PageLast();
/* Displays the last page on the stack, that is page "MIMIC2" and removes it from the stack. */

See Also

Page Functions