gxWaitAction (string sDocument) : int
Waits until the current action is completed.
Parameters:
sDocument - document ID of the project.
Returns:
int - 0 when the action failed, nonzero otherwise.
Example:
gxStartAction("document0", "saProgram");
if (!(gxWaitAction("document0")))
throw message("Programming failed!");
See also:
gxImportProject, gxExportProject
► latest version online