GLOSSARY
In the main program, you can specify three variables to be a part of legendvars:
COMMON legendvars, Rj, maglat, time
In the subroutine, to pass in the above three variables, type in
COMMON legendvars
fun = {fun_struct,$
sleep : float, $
eatlots : floatarr(100,20), $
dontdothesis : strarr(50)}
Here, fun_struct is thename of the structure, and the variable is called fun. To pass this structure along, you say
fun_struct, fun
To refer to it's elements and work with them, you just say
fun.dontdothesis = fun.sleep + fun.eatlots
To get details on the structure, type in
help,/structure
Bidushi Bhattacharya
Dept of Atmos Sciences
UCLA
16 April 1998
bhattach@atmos.ucla.edu