Please enable JavaScript to view this site.

Vensim Help

This example reads data values for a single variable.  The WHERE clause uniquely identifies which variable to read information for.

:CONNECT DATA1

:DATA

:VARNAME #data2[sub1]

:TIME TimeValue

:VALUE DataValue

:SELECT DATA_VALS WHERE VARNAME = ‘data2’ AND SUB1 = ‘sub1’