this is indeed crazy.
took jochen's code. it worked.
removed the first dim, got this:
 Code:
function a($, optional $k, $e, $m)
    $k=$k+$<' '
    $m=' ','	'
    $e=$<!
    while $
        dim $c,$n,$x
        $x=asc($)
        $n=128
        while $n
            $c=$c+iif($e,$n*(($k^$<' ')&$>),$m[$k^$x/$n])
            $x=$x-$n*($x/$n)
            $n=$n/2
            $=iif($e|$n=0,right($,~),$)
        loop
        $a=$a+iif($e,chr($c),$c+iif($,@,$m[$k]))
endfunction


tested, it works.
it's 245.
compared with what howard had, exact same look.
replaced with howards code and again it failed with 246.
I am not seeing the light here!!!
_________________________
!

download KiXnet