create a YES or NO msgbox

By | 2002-06-01

simply pops up an msgbox with a yes or no choice below (very simple)

Original Author: sean mckeown

Code

dim a as integer
a% = msgbox("Message box message ;-)",10+10)
if a% = 6 then '6 indicates a YES
msgbox "yes was choosen"
else
msgbox "no was choosen"
end if

Author: dwirch

Derek Wirch is a seasoned IT professional with an impressive career dating back to 1986. He brings a wealth of knowledge and hands-on experience that is invaluable to those embarking on their journey in the tech industry.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.