TutCommandParseTypedStr


Name

TutCommandParseTypedStr — submit an interactive string to the command interface

Synopsis

void TutCommandParseTypedStr(command_string) 
T_STR command_string; 

Arguments

command_string — string to submit to the command interface

Return Values

None

Diagnostics

None

Description

TutCommandParseTypedStr submits an interactive string, such as if it was typed by you, to the command interface for execution. If there is a syntax error in command_string, a message is displayed on the output window. If the command is successfully executed, and the Command_Feedback option is set to always or interactive, command feedback is displayed on the output window. If Command_Feedback is set to never, no feedback is generated.

To submit a non-interactive string to the command interface use the function TutCommandParseStr. This function behaves identically to TutCommandParseStr, except for how command feedback is reported.

Caution

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

See Also

TutCommandParseFile, TutCommandParseStr

Examples

This example sets several options:

TutCommandParseTypedStr("setopt project demo"); 
TutCommandParseTypedStr("setopt log_in_data input.msg"); 
TutCommandParseTypedStr("setopt editor emacs"); 
 
Option project set to demo. 
Now logging incoming data-related messages to <input.msg>. 
Option log_in_data set to "input.msg". 
Option editor set to "emacs". 

TIBCO SmartSockets™ Utilities
Software Release 6.8, July 2006
Copyright © TIBCO Software Inc. All rights reserved
www.tibco.com