getPage

Description

Retrieves a page ID by searching for space key and page title. The routine will return a -1 if the page is not found.

Parameters

Return Type

Number

Print Return 323827648

Examples

Example 1

Print Return 323827648

number page = getPage("PSCONF", "getPage"); print("Return " + page);

Example 2

Print Return -1

number page = getPage("PSCONF", "Non-Existant Page"); print("Return " + page);

See also

Peacock