I just downloaded FB today and when I started playing around, I discovered an odd error with Locate while in graphics mode. It seems to measure from either the top of the screen or the bottom, seemingly at random. For example, this program:
Code: Select all
screen 9
cls
for i = 1 to 1000
locate 12, 1
print "Hello World!"
next i
sleep
produces an output screen consisting of a single "Hello World!" most of the time, but around 1 time in 10 it will produce an additional "Hello World!" on the line below. Changing the 1000 to a 10000 causes the program to almost always produce two "Hello World!"s (I have yet to see it produce just one with that setting), and changing the 12 to any other number causes greater vertical distance between the two "Hello World!"s.
Yet another oddity -- the following program:
Code: Select all
screen 9
locate 12, 1
print "Hello World!"
input a$
locate 12, 1
print "Hello World!"
sleep
also produces two "Hello World!"s, 100% of the time (at least I have not seen it fail to do so after many trials)
I am using Windows XP. I have no idea whether it behaves this way under any other OS.