Syntax  

int PCMSStateList (PCMServerID serv)


Parameters 

PCMServerID serv – The PC*MILER server ID.


Description

Returns the number of U.S. states, Canadian provinces, Mexican estados, and Central American and Caribbean countries included in the North America region.

 

Return Values 

The number of U.S. states, Canadian provinces, Mexican estados, and Central American and Caribbean countries included in the North America region.


Sample Code 

Log_Pcmstest("Show State List: ");
int nStates = PCMSStateList(server);
for (int iState = 0; iState < nStates; ++iState)
    {
        PCMSStateListItem(server, iState, buf, BUFLEN);
        Log_Pcmstest("  %d) %s", iState, buf);
    }


Supported Since: PC*MILER|Connect 20

Category: Administration