home *** CD-ROM | disk | FTP | other *** search
- {$R-} {Range checking off}
- {$B+} {Boolean complete evaluation on}
- {$S+} {Stack checking on}
- {$I+} {I/O checking on}
- {$N-} {No numeric coprocessor}
- {$M 65500,16384,655360} {Turbo 3 default stack and heap}
-
-
- {$V-}
- {$R+}
- {***********************************************************************}
- uses scl,sfd_a,sfd_b,sfd_c;
- {***********************************************************************}
-
- var s_save,i_save:string10;
-
-
- BEGIN;
- Endofprog:=FALSE;
- getdir(0,currpath);
- S_save:=Screenfile_ext;
- I_save:=Indexfile_ext;
- Screenfile_ext:='.FOR';
- Indexfile_ext:='.FIN';
- Select_Format_File('sfd');
- screenfile_ext:=s_save;
- indexfile_ext:=i_save;
- Loaddefaults;
- Initsysvars;
- Wrkname:=None;
- Workformat:=None;
- {$ifdef demo }
- select_format('first');
- display_format(0,y_max div 2);
- repeat handle_format until format_done;
- {$endif}
- WHILE NOT Endofprog DO Menu;
- Close_Formats;
- IF Wrkname <> None THEN
- BEGIN;
- CLOSE(Wrkscreens);
- CLOSE(Wrkindex);
- CLOSE(Wrkmsg);
- END;
- END.