Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a wait command in basic?

Tags:

basic

Im looking for a wait command so I can read the access granted before it goes away. Ive looked everywhere and i found that the wait command worked.. but i cant add a time to it, i can only put wait. this is the first time ive worked with this, im using it because its either this or forth for what im doing, and the way forth works is confusing to me.

input"Enter Password: "; pass$

realPass$="meow"

if pass$=realPass$ then goto[areTheSame]

goto[areNotTheSame]

[areNotTheSame]
print("access denied")
goto[end]

[areTheSame]
print("access granted")
wait
goto[end]

[end]
cls
like image 506
Adam the Mediocre Avatar asked Mar 23 '26 03:03

Adam the Mediocre


1 Answers

If you want it to just "wait" you can use sleep.

If you want to wait for a key press you can use Console.ReadKey() if you are using VB.

like image 174
daiuto Avatar answered Mar 24 '26 23:03

daiuto



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!