home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
World of Shareware - Software Farm 2
/
wosw_2.zip
/
wosw_2
/
QBAS
/
DS40BPDS.ZIP
/
WINDDEMO.BAS
< prev
Wrap
BASIC Source File
|
1992-01-12
|
976b
|
29 lines
' $INCLUDE: 'DOORSORC.INT'
PROGNAME$ = "Window Demo" ' Setup DS Program variables
RELEASE$ = "1.0"
CALL ClrScrn ' Update screen and close config file
CLOSE #1
DIM Text$(3)
Text$(1) = "This is a demo of..." ' Setup text to be printed
Text$(2) = "WINDOWS in Door Source 2.0"
Text$(3) = "This can be slow if it's a BIG window"
A$ = "And now for some WINDOWS!": CALL Center(A$) ' Print out a little
CALL Send(A$, No, Yes, 10) ' message
CALL Windows(10, 10, 15, 70, 14, 1, 1, No)
' ULR ULC LRR LRC | | | |
' | | | Shadow
' | | Border type
' | Background
' Foreground
FOR X = 1 TO 3
CALL WindowPrint(Text$(X), 10 + X, 11, 11, 1) ' Display text in window
NEXT X
I1$ = "PRESS": CALL ScriptCMD ' Wait for a key press
CALL ExitDoor