Valid on NetWare, Symbian OS, UNIX, Windows and Windows CE
The SetStatus function returns a status value from the script.
Function format:
SetStatus(status as Integer) as Boolean
Identifies the value that is to be set.
On successful completion, the function returns TRUE; otherwise, returns FALSE.
Example:
This script shows the use of the SetStatus function.
if MsgBox("Should this job return an error?",MB_YESNO)=IDYES then
SetStatus(NC_ERROR)
else
SetStatus(NC_OK)
Print ("The user selected OK when prompted...")
end if
|
Copyright © 2014 CA Technologies.
All rights reserved.
|
|