Valid on UNIX and Windows
Copies the string specified by the parameter Text to the Asset Management Job Comment field.
This MIF and Inv file function has the format:
SetComment(Text as string) as integer
Specifies the comment text.
On successful completion, the function returns TRUE, otherwise it 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.
|
|