CompuServe Thread

Bug in DML

3 messages in this thread
#20183From: Mark OlbertDec 1, 1990 12:02 PM
(This is NOT Mark from Precision!!) ALERT!!! SuperBase Professional cannot correctly store compound logical tests in DML programs (at least in IF…THEN statements). This is the kind of line that gets trashed during the storage process: IF (Flag1%=1) or (Flag1%=0 and not (Flag2%=1)) then When you reopen a program file with this line in it you will see that the 'OR (…' is replaced by ERR$. Apparently there's a bug in the SuperBase DML tokenizer. – Mark p.s. – the workaround is simple but ugly: don't use compound logicals!
#20434From: SPC Superbase Tech SuppDec 12, 1990 9:39 AM
Mark, What version of Superbase are you using? I tried the string that you showed as the problem with the OR statement, and had no problems retrieving or running the program. I'm using 3.02, and couldn't reproduce the event. If you can, send me a section of code that you have had this problem with, and I'll try to reproduce it. –Michael
#20599From: Mark OlbertDec 21, 1990 7:30 PM
Michael, I'm running version 3.01, I think. I never asked for 3.02 because I was under the impression there weren't any significant changes. Should I ask for the upgrade? – Mark