Standard Library procedure that lets you implement a "hit any key to continue" function.
Hit any key to continue...
a = INDGEN(200) PRINT, a HAK, Mesg='Press a key to go on.'
t = 'When ready, press any key.' PRINT, t HAK, Mesg=t