Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

basic question, disabling command feedback

7 views
Skip to first unread message

KWS

unread,
Feb 10, 2012, 6:23:18 AM2/10/12
to kong...@gmail.com
Hi,
I am a new user, using tcl 8.4
I have a basic question,
when we do 'set a 1', it will gives feedback as '1'

> set a 1
1
>

Is it possible to disable this feedback feature?
such as:

> set a 1
>

I am wondering if there any switch or parameter that I can set.
Or if there is't any, is there any tips to do it ?

Thanks
kong

M. Strobel

unread,
Feb 10, 2012, 8:16:43 AM2/10/12
to
You said you are new, so FYI:

If you are starting, use a current tcl version like 8.5

The set command returns the resulting value, it is a feature of the interactive shell
to print the result of a command. When running your script non-interactively your set
commands will not print the result.

/Str.

KWS

unread,
Feb 10, 2012, 9:15:15 AM2/10/12
to
Thanks for the explanation.

Kong

On Feb 10, 1:16 pm, "M. Strobel" <sorry_no_mail_h...@nowhere.dee>
wrote:
> /Str.- Hide quoted text -
>
> - Show quoted text -

Aric Bills

unread,
Feb 10, 2012, 10:34:44 AM2/10/12
to
If for some reason you don't want to see the feedback during an
interactive session, set the variable ::tcl_interactive to 0.
0 new messages