KW> Something I've run across just recently and except in a few cases
KW> it as the NORM ie:Your example above. Whats missing ? MINROW,
KW> I mention this is there's no way to check for a minimum ie: something
KW> kaflooey somewhere else in the program, and sends out 0 or a negative
KW> and the bug only surfaces every 1 million times the program is run...
KW> I know why bother... If you need an example, I do have one. it's
KW> than a loop, but it has no error checking for a minimum, and so when
KW> 1 to 127 for a char variable, the loop starts all over again at 0.
KW> waste 24 bits on MAXROW, MAXCOL when a char will do?
well.. truthfully.. my arrays usually start at 0, and i can check using 0 as
the check.. but that is a good point.
Wayne
=[Visit the RazSoft Homepage]=[http://www.sound.net/~fileland]=
--- FMail/386 1.22
---------------
* Origin: =(Mental Floss)=(913-383-2925)= (1:280/191)
|