Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 3 Platform-Independent Microagents and Methods : COM.TIBCO.hawk.microagent.Custom : Custom:executeForNumber

Custom:executeForNumber
Method
Purpose
This method (on all platforms) executes a command and parses the output as a number which is then returned as both an integer and a double value. The integer value of a true double truncates the remainder.
Remarks
The command that is executed can return information by sending a number to stdout. If the executed command returns more than one number, an error will result.
The executable can return information by sending strings to stdout. If the executable returns more than one line, the lines are concatenated to produce one string.
Type
Synchronous, IMPACT_ACTION_INFO.
Arguments
 
Returns
 
 

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved