home *** CD-ROM | disk | FTP | other *** search
- *****************************************************************
- * * 09/92 POPUP1.PRG *
- *****************************************************************
- * * Author's Name: Jeb Long *
- * * *
- * * Description: *
- * * This program illustrates WAIT TIMEOUT command *
- *****************************************************************
- WAIT "Enter Spacebar to stop" WINDOW TIMEOUT 3.25 TO CHAR
- IF ASC(CHAR) = 32 && Was spacebar pressed?
- ? "You entered a Spacebar"
- ELSE
- IF LEN(CHAR) = 0 && Null string?
- ? "You did not type a Spacebar for 3-1/4 seconds"
- ENDIF
- ENDIF
- RETURN