NetWare、Symbian OS、UNIX、Windows、および Windows CE で有効です。
SetStatus 関数によって、スクリプトからステータス値が返されます。
関数の形式
SetStatus(status as Integer) as Boolean
設定する値を識別します。
この関数が正常に完了すると、TRUE が返されます。それ以外の場合は、FALSE が返されます。
例:
このスクリプトは、SetStatus 関数の使用法を示します。
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.
|
|