TDL: Change construct PREPROCESS BEGIN .. END to PREPROC .. ENDPROC (harmony with BEGIN .. END). Added special variable for the FOREACH loop counter 0. Dixed bug in TDL result reference resolving. Better debug output for database results returned (get()). Added tostring method to transaction input for debugging
TDL 0 loop count starting from 1 like all counters in TDL