Mandelbrot- What am I doning wrong?

BlitzMax Forums/BlitzMax Programming/Mandelbrot- What am I doning wrong?

the hue never comes out less than 1, so the inner most else statement is the one that always gets executed. looks like anyway.