DATE: 12-MAY-82 FROM: Hans Goebel Department of Medical Physics TO: Basic users RE: Boolean Functions for Basic Anyone who uses Basic soon notices the lack of boolean functions And, Or, and Exclusive Or if they try to do any number diddling. This lack has now been corrected. All you need to do is use the loadable routine ANDOR. This resides in the account DP:[1,202]. 10 LOAD "DP:[1,202]ANDOR" 20 CALL "AND"(I,J,K) 30 CALL "OR"(I,J,K) 40 CALL "XOR"(I,J,K) This is equivalent to saying K=I.AND.J in any decent language like Fortran. If you have any troubles, please let me know. Hans Goebel HWG/pdp