home *** CD-ROM | disk | FTP | other *** search
- program pickfdemo;
- uses crt, pickf;
- var dir : PickFile;
- begin
- TextBackground(BLUE);
- clrscr;
- writeln('The following is a demonstration of FlexList, CrtPlus, and OOPs.');
- writeln('A generic PickList object is derived from FlexList in pick.pas');
- writeln('The PickFile object is derived from PickList for directory listings.');
- writeln('The crtplus unit is used for windowing in the PickFile object.');
- writeln('PgUp, PgDn, and cursor arrows work as expected.');
- writeln('Press "Enter" on a subdirectory to view that directory.');
- writeln('Press "Enter" on ".." to return to parent directory.');
- writeln('Press "Esc" to exit.');
- writeln;
- writeln('FlexList is a hybrid stack-queue-list-array generic object. That');
- writeln('means you can initialize an instance of a FlexList to hold any');
- writeln('type of data. A FlexList can be accessed as a stack, queue, list,');
- writeln('or array interchangeably!');
- writeln;
- writeln('CrtPlus provides keyboard, screen, cursor, and window enhancements');
- writeln('to Turbo''s crt unit.');
- writeln;
- writeln('Both FlexList and CrtPlus are available as shareware on BBS''s.');
- writeln('Registered versions are $20 each and include manual and source code.');
- writeln;
- writeln('PSW / Power SoftWare');
- writeln('P.O. Box 10072');
- writeln('McLean, VA 22102 8072');
- write('(703) 759-3838');
- dir.init('*.*');
- dir.query;
- dir.done
- end.