home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Beijing Paradise BBS Backup
/
PARADISE.ISO
/
software
/
BBSDOORW
/
DS40.ZIP
/
PRMTDEMO.BAS
< prev
next >
Wrap
BASIC Source File
|
1991-10-24
|
1KB
|
20 lines
' $INCLUDE: 'DOORSORC.INT'
PROGNAME$ = "Prompt Demo" ' Door name
RELEASE$ = "1.0" ' Door release #
CALL ClrScrn ' Clear the screen
CLOSE #1 ' Close configuration file
CALL Send("This is a demo of the new prompts!", No, Yes, 13) ' Display text
CALL NL(1) ' Display one blank line
CALL EntryIncomm("Enter some text (30 chars max):", 30, 15, 10) ' Make field entry prompt
CALL Send("You typed:" + ARG$, No, Yes, 14) ' Show what was inputted
CALL PromptIncomm("Do you like this", Default1, 15, 1, 11) ' Make ( ) input prompt
IF ARG$ = "" OR ARG$ = "N" OR ARG$ = "n" THEN
CALL Send("You said NO! Why did you say that?", Yes, Yes, 12) ' Show "default" response
ELSE
CALL Send("Good! I'm glad you're pleased!", No, Yes, 14) ' Show yes response
END IF
CALL ExitDoor ' End door