Function Pause(picture$); !!! See note !!! flushkeys while not keyhit(25); scancode for p key - see help/scancode picker DrawImage picture$,0,0; !!! See note !!! flip cls wend End Function
The note being, why is your picture variable (picture$) a string? But yes, other than that, use scancodes with KeyHit() and KeyDown().