Cicode Programming Reference > Cicode Function Categories > Miscellaneous Functions Introduction > SetArea

SetArea

Sets the current viewable areas. You can pass a single area number, or a group of areas to set multiple areas. You can only set areas that are flagged for the current user.

Syntax

SetArea(Area)

Area:

The area to set (1 to 255).

Return Value

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

Related Functions

GrpOpen

Example

/* Set current viewable area to Area 1. */
SetArea(1);

See Also

Miscellaneous Functions