home *** CD-ROM | disk | FTP | other *** search
- \ DEFAULT Open file specified from command line. by Tom Zimmer
-
- \ Link this file into the FILELIST chain.
-
- FILES DEFINITIONS
-
- VARIABLE DEFAULT.SEQ
-
- FORTH DEFINITIONS
-
- 128 CONSTANT DOS-LINE
-
- : DOS>TIB ( --- )
- dos-line count >r tib r@ cmove
- r@ span ! r> #tib ! >in off ;
-
- : HDEFAULT ( -- )
- shndl @ clr-hcb dos-line c@ 0<>
- if dos>tib >in @
- bl word 1+ c@ ascii - <>
- if dup >in ! shndl @ !hcb
- shndl @ c@ 0<>
- if shndl @ hopen drop
- loadline off
- then
- then drop
- then ;
-
- ' HDEFAULT IS DEFAULT
-