now as I got that layout issue sorted :P

Jochen, I quickly tried to remove the thing you do with $k and couldn't so kinda forcing you to now ;\)

your line:
 Code:
 $c=$c+iif($e,$n*(($k^$<' ')&$>),$m[$k^$x/$n])

would translate to:
 Code:
;$k=$k+$<' ' <- this line at the top removed
 $c=$c+iif($e,$n*($<>asc(right($,1))),$m[$k=' ' ^ $x>$n])


but there is something I am missing with the $m-part of the code.
you probably having more insight could actually figure it out.
anyways, this would lead to eliminating the $e and making your code work with my test40 (41st test)
_________________________
!

download KiXnet