If the values are stored in records contain values for many variables at a time, you would use something like:
:CONNECT DATA1
:DATA
:VARNAME #var1
:TIME TimeValue
:VALUE var1
:SELECT DATA_VALS
:VARNAME #var2
:TIME TimeValue
:VALUE var2
:SELECT DATA_VALS