see also : CONFIG CONTEXTS DBOPEN FIND FOREACH FORMBOX FUNCTIONS MUNSET SET UNSET
VARIABLES
- There are two kinds of variables in the macro language : o User variables that are handled in macros o Contexts that hold the different internal states of the program In all cases, variable names are case insensitive. User variables : can be set : set a = 3 evaluated : $a (directly) ($a+3) (or in expressions) Variables are usually local to a macro (or a formbox), unless specified : set b := 4 creates a variable $b that can be evaluated anywhere, (static and global) Associative array can be built with the syntaxe : set array["abc"] = 5 Associative arrays can be linked to dbm data file (see DBMOPEN) Associative arrays can be scanned with FIND or FOREACH User variables can also be UNSET (removed from the memory) The total number of user vatiables is limited, as given by the CONFIG command (the $VAR_MAX context) On the other hands, contexts can only be evaluated, but not set: if ($dim != 2) .... see CONTEXTS for the list of all the context variables related contexts : $VAR_MAX
see also : READ READV varian_read
varian_param
- varian_param procpar_file_name this macro reads-in the procpar Varian file and sets the Gifa relevant parameters from the values found in the file. The parameters which are sets are : FREQ - SPECW
see also : READV varian_param
varian_read
- varian_read reads-in a Varian file and load parameters. The macro asks for the name of the directory which is supposed to hold the data file (called fid) and the parameters (called procpar)
see also : DEBUG
VERBOSE
- When this context is set to 1 the program switches to a more verbose mode. Specially, text output will be generated during macro execution, during MaxEnt run and during LP execution. When verbose equals to 0, no text is generated.
see also : COL DIM PLANE planeint ROW vertint
VERT
- vert i j In 3D mode, extract a column orthogonal to the last displayed plane. The column is taken at coordinates i and j in this plane.
see also : COL colint ph2dc planeint ROW rowint
vertint
- interactive permits to choose verts interactively on a 3D by clicking on the 2d plane
see also : DISP1D PLOT
VHEIGHT
- This context is used when displaying or plotting 1D spectra, it determines the level at which the zero value will be displayed in the window. Values are in %, i.e. 0 corresponds to the bottom line and 1 to the top. Default value is 0.3 related contexts : $VHEIGHT
see also : CD ls more pwd rm SH vim vip
vi
- as in unix
see also : CD ls more pwd rm SH vi vip
vim
- open with vi a macro in the standard place i.e. in /usr/local/gifa/macro/
see also : CD ls more pwd rm SH vi vim
vip
- open with vi a macro in the $HOME/macro directory