home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Simtel MSDOS 1992 December
/
simtel1292_SIMTEL_1292_Walnut_Creek.iso
/
msdos
/
editor
/
me_cd.arc
/
NEXTFILE.MUT
< prev
next >
Wrap
Text File
|
1988-09-07
|
462b
|
25 lines
;; files.mut: sequencally load the files specified on the command line
;; If ^U used, tries to load that many files.
(int nth-file) ; file to load next
(defun
next-file
{
(int n)
(n (arg-prefix))
(while (>= (-= n 1) 0)
(if (< nth-file (argc))
{
(visit-file (argv nth-file))
(delete-other-windows)
(+= nth-file 1)
}
{ (msg "All files read in.")(done) }
)
)
}
MAIN { (nth-file 1) }
)