13.07.2015 Views

apple-pascal-1.3-manual

apple-pascal-1.3-manual

apple-pascal-1.3-manual

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

SYSTEM.LIBRARYSYSTEM.LIBRARY is the name of the library file that comes with the ApplePascal software. To be accessed, it must be on the same disk as the fileSYSTEM.PASCAL. It is accessible to all programs, and is automaticallysearched for needed units during program compilation and execution. In itsoriginal form, SYSTEM.LIBRARY contains these units:LONGINTIOCHAINSTUFFTRANSCEND APPLESTUFF PASCALIOTURTLEGRAPHICSAll of these are Intrinsic Units. They are used by certain Apple Pascalbuilt-in operations, as follows:LONGINTIO is required by the long integer data type and all arithmeticoperations involving long integers. It also is required by the STR functionthat converts numeric values to strings.TRANSCEND is required by the trigonometric and logarithmic functions ofApple Pascal-SIN, COS, ATAN, LOG, LN, and EXP-plus the square rootfuntion SQRT.APPLES TUFF is required by the operations RANDOM and RANDOMIZE,plus several miscellaneous I/O operations: KEYPRESS, PADDLE, BUTTON,and NOTE.PASCALIO is required by the I/O procedure SEEK, and the proceduresWRITE, WRITELN, READ, and READLN when they are used with data oftype REAL.CHAINS TUFF is required by the program chaining operations discussed inChapter 16.TURTLEGRAPHICS is required by the screen graphics operations discussedin Chapter 11.You can change the contents of SYSTEM.LIBRARY by using the LIBRARYutility program described in Part II of this <strong>manual</strong>, Chapter 8.These rules govern the use of SYSTEM.LIBRARY:o SYSTEM.LIBRARY must reside on the system disk-the disk that alsocontains SYSTEM.PASCAL. Otherwise Pascal cannot find it.o SYSTEM.LIBRARY may contain up to 16 units.SYSTEM.LIBRARYIII-229

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

Saved successfully!

Ooh no, something went wrong!