here's my code I'm not sure if did something wrong if I did please let me know thanks
Rem Project: menutest1
Rem Created: 8/8/2009 5:53:43 PM
Rem ***** Main Source File *****
`// For now just use default video settings //
set display mode 1440,900,32
sync on : sync rate 90
hide mouse
var1=1
var2=2
var3=3
var4=4
var5=5
err=6
print "*********************"
print "seans test menu dbpro"
print "*********************"
print "1 - dumb "
print "2 - bubbles"
print "3 - leave"
print "4 - this"
print "5 - ends menu program."
print "*********************"
input "Enter Number:";var1,var2
`text 50,200,"press 3 on your keyboard"
`// Let's make a menu here simple //
SELECT var=1
CASE 1:
`cls
PRINT "Your a Dumb face!";var=1
wait key
ENDCASE
ENDSELECT
`wait key
SELECT var=2
CASE 2:
`cls
PRINT "Bubbles rocks man!
";var
wait key
ENDCASE
ENDSELECT
`wait key
SELECT var=3
CASE 3:
`cls
PRINT "leave cory and trevor alone";var
wait key
ENDCASE
ENDSELECT
`wait key
SELECT var=4
CASE 4:
`cls
PRINT "this jim Lahey trailer park supervisor.";var
wait key
ENDCASE
ENDSELECT
`wait key
SELECT var
CASE 5:
`cls
PRINT "end the program exit man.";var
sleep 1500
end
ENDCASE
ENDSELECT
`wait key
`SELECT err
`CASE DEFAULT:
`PRINT "Only keys 1-5 work"
`ENDCASE
`ENDSELECT
`WAIT KEY
`// menu loop //
do
if keystate(2)=1 then inc var,1 `// for 1 key //
if keystate(3)=1 then inc var,2 `// for 2 key //
if keystate(4)=1 then inc var,3 `// for 3 key //
if keystate(5)=1 then inc var,4 `// for 4 key //
`// Update the screen Refresh rate //
sync
loop
end
Shay3000