Required AdjustmentsThe prior interface of XIMAGE has been replaced with one based on Tcl, giving the user the opportunity to use all the capabilities of Tcl (looping, etc.) within XIMAGE scripts. The goal for this version was to make the transition to the Tcl version as painless as possible for the user, however, there are some minor adjustments that are unavoidable.Shell spawning no longer uses syntax: $command
The info command becomes iminfo
The alias command's behavior has changed
CFITSIO expression syntax must be quoted with {} curly braces
read rp1002.evt[EVENTS][regfilter("smcirc.reg")]
Minor DifferencesThere are some additional differences that are important to be aware of. They do not require any adjustment on the user's part, however, as backwards-compatibility has been preserved.Delimiting with slashes no longer necessary
The parser is now case-sensitive
An alternative to the %1% syntax for script arguments is available
proc smthout {file sigma} { Essentially this makes a custom command in XIMAGE to perform the desired task. Note: a file containing a proc must be sourced (i.e. "source file.tcl"). For custom commands to be available in every XIMAGE session, place the .tcl files in a directory called ~/.ximage
Please send reports of errors to : xanprob@athena.gsfc.nasa.gov HEASARC Home | Observatories | Archive | Calibration | Software | Tools | Students/Teachers/Public Last modified: Wednesday, 29-Mar-2006 14:32:09 EST 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. |