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.




HEASARC Home | Observatories | Archive | Calibration | Software | Tools | Students/Teachers/Public

Last modified: Friday, 23-Aug-2024 13:20:40 EDT

HEASARC Staff Scientist Position - Applications are now being accepted for a Staff Scientist with significant experience and interest in the technical aspects of astrophysics research, to work in the High Energy Astrophysics Science Archive Research Center (HEASARC) at NASA Goddard Space Flight Center (GSFC) in Greenbelt, MD. Refer to the AAS Job register for full details.