if something_is_wrong end 0 endif ... end 1
inquire/key s1
if search_symbol( s1)
if !(s1 - 32)
end
endif
endif
Notice that inquire/key does not wait for a keystroke, it just reads the input buffer. The number 32 selects the space bar.