list "test(station<=5&press<100,station,lat,lon,press,o2)"The dictionary entry is assumed to be# wunsch stations 3-10 # p<1000 ======================= station, lat, lon ........................ 3, 38.28, -73.53 ======================= press, o2 ------------------------ 5.000, 5.970 25.000, 6.990 49.000, 6.060 99.000, 5.340 ======================= station, lat, lon ........................ 4, 38.19, -73.52 ======================= press, o2 ------------------------ 5.000, 5.840 25.000, 7.090 49.000, 6.020 99.000, 5.340 ======================= station, lat, lon ........................ 5, 38.16, -73.26 ======================= press, o2 ------------------------ 5.000, 5.770 25.000, 6.660 49.000, 5.510 99.000, 5.100 =======================
test=def(/usr/users/jgofs/data/t0)
The communications look like:
list -> method (def) argv = [/usr/users/jgofs/data/t0,station<=5&press<100,station,lat,lon,press,o2 def -> list &c*********************** wunsch stations 3-10 p<1000 &v0====================== &v1====================== station lat lon &v2====================== press o2 &r======================= &c*********************** wunsch stations 3-5 p<1000 &d0---------------------- &d1---------------------- 3 38.28 -73.53 &d2---------------------- 5.000 5.970 25.000 6.990 49.000 6.060 99.000 5.340 &d1---------------------- 4 38.19 -73.52 &d2---------------------- 5.000 5.840 25.000 7.090 49.000 6.020 99.000 5.340 &d1---------------------- 5 38.16 -73.26 &d2---------------------- 5.000 5.770 25.000 6.660 49.000 5.510 99.000 5.100 &e**** End of object ****Thus the application begins by sending the parameters to the method and then reading the blocks of data. The blocks are indicated by commands with an & in the first position. There are four types of protocol blocks: comments, variable names, data, and end.