this

		for { set i [llength $newdata] } { $i > 0 } { set i [expr $i-1] } {

			putlog [lindex $newdata $i]
			set timestamp "[lindex [lindex $newdata $i] 0]"
			putlog $timestamp

#			putlog "[clock format $timestamp -format "\%d/\%m \%H:\%M"] - [lrange [lindex $newdata $i] 1 end]"
		}



gives this:


1095115543 m0000 m0000 m0000
1095115543
1095115540 m0000
1095115540
1095114873 fastlink är ett bra nät
1095114873
1095114865 fast GNFOS är snyggast
1095114865

if I uncomment it.. I get 

expected integer but got "" .. 

I know it is the $timestamp in the clock function that does it.. cause if I replace $timestamp with [clock scan now] it works fine