TutCommandParseStr submit a non-interactive string to the command interface
command_string
string to submit to the command interface
None
None
TutCommandParseStr submits a non-interactive string to the command interface for execution. (A non-interactive string refers to a string that appears in a program, not with the SmartSockets command interface.) If there is a syntax error in the command_string
, a message is printed to the output window. If the command is successfully executed, and the Command_Feedback option is set to always
, command feedback is printed to the output window; if Command_Feedback is set to never
or interactive
, no feedback is generated.
To submit an interactive string, such as a string typed by you at the command interface, use the function TutCommandParseTypedStr.
If the Command_Feedback option is set to interactive
, TutCommandParseStr does not generate output for normal completion.
TutCommandParseFile, TutCommandParseTypedStr
This example sets several options:
TutCommandParseStr("setopt application demo"); TutCommandParseStr("setopt log_in_data input.msg"); TutCommandParseStr("setopt editor emacs");
TIBCO SmartSockets™ Utilities Software Release 6.8, July 2006 Copyright © TIBCO Software Inc. All rights reserved www.tibco.com |