home *** CD-ROM | disk | FTP | other *** search
- /* Start the Builder/2 Tutorial */
- rc = setlocal()
-
- curdir = directory()
-
- newdir = directory(curdir||"\UBTUTOR");
- if newdir = '' then
- do
- say "We are expecting to find the subdirectory UBTUTOR"
- say "under the TUTOR directory on your hard drive, but"
- say "did not find it. Please copy this subdirectory to"
- say "your hard drive or run the tutorial from the CD-ROM."
- exit
- end
-
- newdir = directory(curdir||"\UBLIB");
- if newdir = '' then
- do
- say "We are expecting to find the subdirectory UBLIB"
- say "under the TUTOR directory on your hard drive, but"
- say "did not find it. Please copy this subdirectory to"
- say "your hard drive or run the tutorial from the CD-ROM."
- exit
- end
-
- umpath = value("UMPATH",,"OS2ENVIRONMENT")
- umpath = curdir"\UBTUTOR;"curdir"\UBSAMPLE;"curdir"\UBLIB;"umpath
- rc = value("UMPATH",umpath,"OS2ENVIRONMENT")
-
- "TELLPM TUTORIAL UB"
-
- rc = endlocal()