forums

TNT Basic Forums > Programming Q&A
About ESC key
< Last Thread     Next Thread >
Author
Thread        Post A Reply

06-06-2004 12:10

Posted by:
JW

Location:
Netherlands

Click Here to Email JW   Find more posts by JW

Is there anyway to use this key without getting the tnt routine.
I'm making a game menu and the most people will use esc to go
back to the previous menu. It would not be nice to enter this tnt menu
in this part of the game..
During the game... well that's allright with me, but not during the settings
menu...

Anybody ? Or perhaps Mark himself ?


JW

06-06-2004 12:28

Posted by:
Turner

Location:
Williamstown, MA

Click Here to Email Turner   Find more posts by Turner

it will work when the application is built.

06-06-2004 13:32

Posted by:
eekaydee

Location:
CA, USA

Click Here to Email eekaydee   Find more posts by eekaydee

Actually, even if you build the application, the esc key will still break to the tnt menu. In order to disable this, use the command "disable break", preferably at the beginning of your code. You should make sure that there's no way your program can get into an infinite loop before you do this though.

06-06-2004 19:00

Posted by:
JW

Location:
Netherlands

Click Here to Email JW   Find more posts by JW

Thanks, that really helped. No i will test if i also can program the ESC key.

JW

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.