var %offset = 1 while ($bfind(&in,%offset,valign=up)) { echo -a $bvar(&in,$+($v1,-,$calc($v1 + 10))).text %offset = $v1 }