CwGetFirstRegionName

Syntax:

sName = CwGetFirstRegionName()

        sName           (string) The name of the first region.

Description:

This function, along with CwGetNextRegionName, is used to list all available regions. The entire list can be obtained by calling CwGetFirstRegionName once and then CwGetNextRegionName repeatedly until it returns an empty string. Each returned string is the name of another region.

Example:

/* Obtain the list of available regions. */
count = 1
t = CwGetFirstRegionName()

do while t \= ''
        region.count = t
        t = CwGetNextRegionName()
        count = count + 1
        end


Functions by NAME

Index

Functions by PURPOSE