Skip to main content

The NASA/GSFC network is currently experiencing intermittent issues that affect our services. We are working on it and apologize for the inconvenience.
The offline tool hark (also on github) can be used to find and download data from the cloud.

Xspec Home Page


tcloutr

tclout with return value

Syntax: tcloutr <option>[<par1>] [<par2>] [<par3>]

tcloutr is identical to the tclout command except that it also provides what is stored in $xspec_tclout as a return value. Therefore it can be used in tcl scripts like this:

set var1 [tcloutr energies 1]

tcloutr may produce quite a lot of unwanted screen output, which can be avoided by using tclout.