Regular API function

simGetPage / sim.getPage

Description Retrieves the current page index (view). See also sim.setPage.
C synopsis simInt simGetPage()
C parameters
None
C return value
page index or -1 in case of an error
Lua synopsis int pageIndex=sim.getPage()
Lua parameters
Similar to the C-function counterpart
Lua return values
Similar to the C-function counterpart