home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Beijing Paradise BBS Backup
/
PARADISE.ISO
/
software
/
BBSDOORW
/
DFQBX10.ZIP
/
DISPLAY.BAS
< prev
next >
Wrap
BASIC Source File
|
1991-10-21
|
2KB
|
40 lines
' Example usage of the DIS.PLAY routine enhancements (~ ` @ ^ | { and })
' If BLINK% = 1 and you are using one of these enhancements, then only
' the text between the symbols will blink. Otherwise the whole line blinks
' normally. If BLINK% = 0 then the text between the symbols will display
' normally in the color specfied by the symbols you are using
' Note that the text to blink must start and end with the same symbol.
' To make the color low intensity, put an * is front of the first symbol.
' For example: *@text@ will make 'text' appear in low intensity cyan.
' ~ = blue
' ` = green
' @ = cyan
' ^ = red
' | = magenta
' { = yellow
' } = white
' $INCLUDE: '\INC\DFRAMEX.INC'
PROGNAME$ = "Display Examples"
VERSION$ = " v0.0"
INITIALIZE
CLOSE #1
DETECT.ANSI 'Required for the symbols to work
DIS.PLAY "Example for <~BLINKING BLUE~> in the middle.", LGREEN, BLACK, 1, 0, 2, 0, 0, 1, 0
DIS.PLAY "Example for <`BLINKING GREEN`> in the middle.", LCYAN, BLACK, 1, 0, 4, 0, 0, 1, 0
DIS.PLAY "Example for <@BLINKING CYAN@> in the middle.", LRED, BLACK, 1, 0, 6, 0, 0, 1, 0
DIS.PLAY "Example for <^BLINKING RED^> in the middle.", GRAY, WHITE, 1, 0, 8, 0, 0, 1, 0
DIS.PLAY "Example for <|BLINKING MAGENTA|> in the middle.", LYELLOW, BLACK, 1, 0, 10, 0, 0, 1, 0
DIS.PLAY "Example for <{BLINKING YELLOW{> in the middle.", LWHITE, BLUE, 1, 0, 12, 0, 0, 1, 0
DIS.PLAY "Example for <}BLINKING WHITE}> in the middle.", LBLUE, BLACK, 1, 0, 14, 0, 0, 1, 0
DIS.PLAY "Example for <~NON-BLINKING BLUE~> in the middle.", LWHITE, BLACK, 0, 0, 16, 0, 0, 1, 0
DIS.PLAY "Example for <*}LOW-INTENSITY WHITE}> in the middle.", LWHITE, BLACK, 0, 0, 18, 0, 0, 1, 0
ENTER
EXIT.DOOR "y"
END