\starttext
\ctxluacode{v=math.random(400,600)/10;context("%0.1f",v) ;}
\bTABLE
\bTR\bTD Distance (cm) \eTD\bTD $\Delta t$ (s) \eTD\eTR
\bTR\bTD[nr=3] \ctxluacode{v=math.random(400,600)/10;context("%0.1f",v) ;} \eTD\bTD t1 \eTD\eTR
\bTR\bTD t2 \eTD\eTR
\bTR\bTD t3 \eTD\eTR
\eTABLE
\stoptext
\ctxluacode{v=math.random(400,600)/10;context("%0.1f",v) ;} don't work inside the bTABLE environment.
Thanks in advance.