[comp.sys.ibm.pc] QuickBasic 4.0 bug

djo7613@blake.acs.washington.edu (Dick O'Connor) (07/24/89)

One of the users on the University of Washington campus discovered something
about QuickBasic 4.0 that may be of interest to other users.  I repost for Eric
Gorr...
******************************************************************************

For those who use Microsoft Quickbasic 4.0, I just discovered a bug
in the program that apparently Microsoft knew nothing about...or at
least the people on the help line didn't know anything about it.

Anyways, try entering this program:

go = 1
Print go

---

When you run the program from within Quickbasic, it should print
"1" on the screen, but when you try to make this program an
EXE file, it will tell you that there are syntax errors in those
two lines.  The problem is with the variable 'Go'.  when you change
it to something else, everything should work just fine.

Hope this can be of use to someone....

(Oh, 'Go' is not a reserved word or anything...the person on the help
line checked it out and did this exact same test)
**********************************************************************

"Moby" Dick O'Connor                            ** DISCLAIMER: It would
Washington Department of Fisheries              ** surprise me if the
Olympia, Washington  98504                      ** rest of the Department
Internet Mail: djo7613@blake.acs.washington.edu ** agreed with any of this!