home *** CD-ROM | disk | FTP | other *** search
- /* CheckFSSeq.rexx -- Check for missing frames in sequence of FRAMESTORES */
- /* By Arnie Cachelin © 1993 NewTek, Inc. */
-
- parse arg dir base start total
-
- if dir ="" | base="" | start="" | total="" then do
- say "USAGE rx CheckFSSeq FSDir Comment Start# Count"
- exit
- end
-
- f=start
- if f<1000 then d=3
- else d=4
- if right(base,1)~='/' | right(base,1)~=':' then base=base||'/'
- do f=start to start+total
- sname=dir||right(f,d,'0')||'.FS.'base
- if ~exists(sname) then say "Missing: "sname
- if f<1000 then d=3
- else d=4
- end
-
- exit