Cicode Programming Reference > Cicode Function Categories > Page Functions > PagePopLast

PagePopLast

Gets the Page Name of the last item in the page navigation history and removes the page from the history.

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

PagePopLast()

Return Value

The page name or an empty string if there is no last page.

Related Functions

PageLast, PagePeekCurrent, PagePeekLast, PagePopUp, PagePushLast

Example

PageDisplay("MIMIC1");
! Displays page "MIMIC1".
PageDisplay("MIMIC2");
/* Displays page "MIMIC2" and places page "MIMIC1" onto the page navigation history. */
PageDisplay("10");
! Displays page "10" and places page "MIMIC2" onto the page navigation history.
Variable=PagePopLast();
/* Sets Variable to "MIMIC2" and removes "MIMIC2" from the page navigation history. */
PageLast();
! Displays page "MIMIC1".

See Also

Page Functions

Published June 2018