forums

TNT Basic Forums > Bugs!
Pressed command + Ask open file = OS 10.3 bug
< Last Thread     Next Thread >
Author
Thread        Post A Reply

03-14-2004 08:12

Posted by:
eekaydee

Location:
CA, USA

Click Here to Email eekaydee   Find more posts by eekaydee

I found yet another bug pertaining to the pressed command in OS 10.3. I don't know if it occurs in other versions of OSX but I tried it and it doesn't happen in Classic.

quote:
int file
graphics mode 800,600
repeat
set pen color black
paint canvas
set pen color blue
if pressed(0) then draw text 100,100,"A is being pressed"
if mouse button then file=ask open file (true,"type","Data")
draw frame
until pressed(12)


Try running the above code. If "a" is pressed, a message appears, and if it is not it dissapears. Pressing the mouse button will bring up the open dialog. However, if a is held while the mouse button is pressed, upon canceling the pressed command returns that a is still pressed.

03-17-2004 21:27

Posted by:
Mark Tully

Location:
TNT HQ, England

Click Here to Email Mark Tully   Find more posts by Mark Tully

OK, I've fixed that and it will be in the next release. No date on the release yet.

Cheers,

Mark

03-17-2004 23:45

Posted by:
eekaydee

Location:
CA, USA

Click Here to Email eekaydee   Find more posts by eekaydee

Great!

All times are GMT        Post A Reply

Forum Jump:
< Last Thread     Next Thread >

< Contact Us - TNT Basic >

Powered by: vBulletin Lite Version 1.0.1 Lite
Copyright © Jelsoft Enterprises Limited 2000.