1// this filter is used by the chron prefab under certain conditions... 2 3#if @tab != "" 4 #if @delim = tab 5 #set DELIM = " " 6 #elseif @delim = comma 7 #set DELIM = "," 8 #else 9 #set DELIM = " " 10 #endif 11 filter: 12 ##set DT = $ref(@x) 13 #if @timefld != "" 14 // concatenate date and time to build datetime.. 15 ##set TM = $ref(@timefld) 16 ##set DT = @DT "." @TM 17 #endif 18 // 19 // do tabulation using $dategroup function.. 20 ##set ADJ = $dategroup( @tab, @tabmode, @@DT ) 21 #if @y != "" 22 ##set VAL = $ref(@y) 23 ##print @@ADJ@DELIM@@VAL 24 #set y = 2 25 #else 26 ##print @@ADJ 27 #endif 28 #set x = 1 29 30#endif 31 32//////////////////////// 33