Jump to content
UBot Underground

before exiting the program


Recommended Posts

Hi.

When I build the sample program (test.exe).
How do I create a confirmation dialog before exiting the program (test.exe).

 

I'm trying to find is not found.
Customer Care. Does not help anything.
He asked me to come on the forums. :angry:

Link to post
Share on other sites

Hi.

When I build the sample program (test.exe).
How do I create a confirmation dialog before exiting the program (test.exe).

 

I'm trying to find is not found.
Customer Care. Does not help anything.
He asked me to come on the forums. :angry:

Link to post
Share on other sites

Use the confirm command, something like:

 

set(#TEST, $confirm("Want to exit?"), "Global")
if(#TEST) {
    then {
        comment("Code to exit")
    }
}
 
 
I'm sorry I was not clear.

I meant to close the program. Created by ubot.

http://postto.me/id/uokcc.png
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...