home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1994 #1
/
monster.zip
/
monster
/
PROG_BAS
/
PRO98SRC.ZIP
/
BOOLE.BAS
< prev
next >
Wrap
BASIC Source File
|
1993-11-07
|
268b
|
16 lines
SUB BOOLE (B$)
' find .AND. .OR. .NOT. etc and modify boolean recursively
IF INSTR(B$,".AND.") THEN
p%=instr(B$,".AND.")
C$=MID$(B$,p%+5):CALL BOOLE(C$)
B$=LEFT$(B$,p%+4)+C$
ELSEIF INSTR(B$,".OR.") THEN
ELSEIF INSTR(B$,".NOT.") THEN
END IF
END SUB