Quote:
Originally Posted by geekmaster
"Normal" shell arrays did not work for me, but substrings work.
|
echo ${v:1:1} returns
-sh: syntax error: Bad substitution on my K3, and
expr substr $v 1 1 is even slower than
hexdump.
Here is a ev[ia]l array style version.
eval "v=\$A${x}x$y".
I used 4 values. 0/1 for dead 100/101 for living. 1 and 101 are the dirty states wich are rendered with filled circles.