TutCommandParseStr


Name

TutCommandParseStr — submit a non-interactive string to the command interface

Synopsis

void TutCommandParseStr(command_string) 
T_STR command_string; 

Arguments

command_string — string to submit to the command interface

Return Values

None

Diagnostics

None

Description

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.

Caution

If the Command_Feedback option is set to interactive, TutCommandParseStr does not generate output for normal completion.

See Also

TutCommandParseFile, TutCommandParseTypedStr

Examples

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