Originally posted by Razzle:
While Getasynckeystate(keycode)<> 0
Dosomething
Wend

GetAsyncKeystate is a api so don't forget to declare it.
keycode must be the key in ASCII

I want the Visual BASIC program to work like this:

start of subway route
print name of first subway station
wait for keypress
print name of next subway station
wait for keypress
print name of next subway station
wait for keypress
print name of next subway station
wait for keypress
print name of next subway station
wait for keypress
until end of route