XVista manual page

NAME

let - to inspect or modify the XVISTA symbol table

SYNOPSIS

let [-e] [string]

DESCRIPTION

This routine sets the values of the strings present in the symbol table. The name and path of the file must be specified the environment variable SYM_TABLE. Strings have the following form:

name=value

No blanks are permitted in the name or the value portion of the string.

If no string is specified, the contents of the symbol table is displayed.

If the value is not specified, the symbol name is deleted.

The name is not case sensitive. The value is.

If the -e flag is given, any arithmetic expressions on the right-hand side of an expression are evaluated before the value is stored in the symbol table. Otherwise, the lefthand side symbol is simply set equal to the string on the right-hand side.

If the user ask for the value of a symbol which is not defined in the table, the program exits with code 1; otherwise, it exits with code 0.

EXAMPLE

let - prints out the value of all symbols in the table.

let gamma - prints out the value of symbol `gamma'.

let gamma=4*sky - sets the value of `gamma' to the string `4*sky'.

let -e gamma=4*sky - sets the value of `gamma' to four times the value of the symbol `sky'.

let gamma= - deletes the symbol `gamma' from the symbol table.