int StartingConditional()

This function declaration is necessary for any script which controls the flow of a conversation file. It returns an int and should have at least one return statement within its code block. Any custom functions used within the StartingConditional() code block should be declared or prototyped before it (above the void StartingConditional() line).

// function declarations
void myProcedure() 
{
     // statements ...
}

int StartingConditional()
{
     // main code block
     myProcedure(); // myProcedure is executed
     return 0;
}




 author: Ryan Hunt, editor: Charles Feduke
 Send comments on this topic.