home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Jason Aller Floppy Collection
/
99.img
/
PDOX3-09.ZIP
/
TOOLKIT2
/
DEMO.SC
< prev
next >
Wrap
Text File
|
1989-09-15
|
1KB
|
31 lines
; This script allows you to play the DoWait demonstration from outside TKMenu.
; Note that since TKMenu is a protected script, you'll need to play this
; script (or make your own) to be able to debug the demonstration code.
;
; The DoWait demonstration, although being far from complete, is nonetheless
; fairly complex. Its intent is to illustrate several techniques in using
; features of the DoWait. Your applications may not require the use of all of
; of DoWait's abilities shown here, but we've tried to show all of them here
; so that if you ever do need to use them, you'll have some examples.
; If this is your first exposure to DoWait and you have not yet experimented
; with the simple demonstration found in MINIDEMO.SC, we highly recommend that
; you do so before attempting to step through this demonstration.
;
; See also DoW8Demo.SC for more information about the demonstration.
;
If not IsFile(SDir()+"Toolkit.LIB")
Then Quit "Cannot begin demonstration without Toolkit.LIB"
Endif
If not IsFile(SDir()+"DoW8Demo.LIB")
Then If IsFile(SDir()+"DoW8Demo.SC")
Then Message "Generating demonstration library..."
Echo Off
Play SDir()+"DoW8Demo"
Else Quit "Unable to find DOWDEMO.LIB. Play DoW8Demo.SC to create it"
Endif
Endif
Readlib SDir()+"DoW8Demo" DataEntry
DataEntry(True) ;Argument specifies to initially turn commentary on