Variables can be protected by using the keyword constant. Values of variables and constants in an arithmetic expression are all converted to the type of highest precision in the expression before performing the mathematical operations. Another special type of variable in Glish is the record. A record can contain heterogeneous data structures. A record goes by a single variable name and can be passed on as a single unit to a global function .
Some functions return a record.
You can create a record all at once or add to it piece by piece. Many of the tools , such as Table, MS, and Image, have functions which can extract the data from specified portions and create Glish variables or arrays with those data. Thus, it is possible to write Glish scripts for special user specific applications or do simple computations at the Command Line window itself. Furthermore, since tools for printing and plotting are available at the Command Line level, they can also be included in such applications.