> 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
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.
> > 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
> 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.
> On Feb 10, 1:16 pm, "M. Strobel" <sorry_no_mail_h...@nowhere.dee>
> wrote:
> > Am 10.02.2012 12:23, schrieb KWS:
> > > 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
> > 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.- Hide quoted text -
> > - Show quoted text -
If for some reason you don't want to see the feedback during an
interactive session, set the variable ::tcl_interactive to 0.