[fpc-pascal]BlackBox Example

Ghita Daniel phoenix_dany at yahoo.com
Wed Feb 20 12:07:05 CET 2002

In the BlackBox example, at lines 104 & 105, instead of:
    OK:=((X>=1) or (X<=MaxSize)) or ((y>=1) or (Y<=MaxSize)) or
        ((Z>=1) or (z<=maxsize));
isn't it supposed to be "and" instead of "or", like
    OK:=((X>=1) and (X<=MaxSize)) and ((y>=1) and (Y<=MaxSize)) and
        ((Z>=1) and (z<=maxsize));

Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

More information about the fpc-pascal mailing list