13.07.2015 Views

apple-pascal-1.3-manual

apple-pascal-1.3-manual

apple-pascal-1.3-manual

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Library Name File to replace the volume names of the listed library files.Suppose you had this set of files:MYFILE:MIX.CODEMIX.LIBOLD. LIBNEW.LIB{a volume}{a program codefile}{a Library Name File}{a library file}{a library file}If you wanted to use the percent prefix, the contents of the Library NameFile for MIX.CODE, which is MIX.LIB, would beLI BR ARY FI LES:%OLD. LIB%NEW. LIB$$Then when you execute MYFILE:MIX.CODE, the system sets the percentprefix to MYFILE:, opens up the Library Name File MIX.LIB, and reads thefilenames for the two library files OLD.LIB and NEW.LIB. In this case thesystem expands the filenames like this:%OLD.LIB becomes MYFJLE:OLD.LIB%NEW.LIB becomes MYF!LE:NEW.LIBThe"%" stands for the disk name, MYFILE:, of the program MIX.CODE.IMaking Life Easy: Keep in mind when developing an application thatthe grouping of related programs and their libraries together on the samedisk facilitates the use of the percent prefix to specify library files.The 1 'Using" Compiler OptionThe "using" Compiler option lets you specify a library other thanSYSTEM.LIBRARY as the location of Program Units needed during programcompilation. It is written as $U followed by the complete filename of alibrary, and is inserted inside the USES declaration at the beginning of yourIII-236Chapter 13: Libraries

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!