Defining User Variables
Writing and Modifying ComputeList Files
15-10 Using the LI-6400
15
value changed.
Comments
If you wish to put comments in the ComputeList file, put them between vari-
able definitions. This works because once an equation definition string is
read, the program searches ahead looking for the next ## to start the next def-
inition. This means, of course, that you should not put a ## within your com-
ment!
Compilation Errors
If you make a mistake defining a variable, you may get a message to that ef-
fect when it is compiled. While a ComputeList is being compiled, each vari-
ableÕs label is printed to the display, followed by an ÒokÓ if it compiles
correctly
1
. If there is a problem, however, you will get a message describing
the problem. That variable will then not be available for subsequent opera-
tions. EXAMPLE: If the definition for Trmmol (#20) is changed to
##21 "Trmmol" "Transpiration (mmol/m2/s)"
" #20 * xyz"
The symbol xyz will not be found, so when Trmmol is compiled, an error will
be reported (Figure 15-6).
1.
This doesnÕt happen when using :include (OpenÕs Hooks on page 26-7) or
NOASSIGN.
##10 "(U/S)" "flow:area ratio"
" flow_um / area_cm2 / 100.0"
This is a comment,
and can go on for as
long as youÕd care to type...
##20 "Trans" "Transpiration (mol/m2/s)"
" #10 * (h2o_2_mm - h2o_1_mm) / (1000.0 - h2o_2_mm)"
Figure 15-5. If you need comments, put them between ## definitions.