Compaq Software Product Description ___________________________________________________________________ PRODUCT NAME: Compaq Pascal Version 5.7 for Tru64 UNIX[R] SPD 42.46.08 DESCRIPTION Compaq Pascal is an implementation of the Pascal[*] language that ac- cepts programs compatible with either level of the ISO specification for Programming languages - Pascal [ISO 7185-1987] as well as ANSI/IEEE 770X3.97-1987. Compaq Pascal also meets the Federal Information Pro- cessing Standard Publication (FIPS-109) requirements by accepting pro- grams conforming to the ANSI standard. Compaq Pascal also accepts many features from the Extended Pascal standard (ANSI/IEEE 770X3.160-1989 and ISO 10206). The compiler has been validated for both levels of the ISO unextended Pascal standard and for conforming to FIPS-109. Containing extensions to the standards, Compaq Pascalgenerates optimized, shareable code that takes full advantage of the Alpha hardware and the virtual memory ca- pabilities of the Compaq Tru64 UNIX Operating System. The language con- tains control statements, data types, and predeclared procedures and functions. Major Pascal Language Elements o INTEGER, REAL, CHAR, BOOLEAN, enumerated, and subrange data types o ARRAY, RECORD, SET, and FILE structured data types o Schemata type denoting families of types ____________________ K. Jensen and N. Wirth, Pascal User Manual and Report, 2nd ed., Spring- Verlag, New York 1974. July 1999 o STRING schema denoting variable-length character strings up to 65,535 characters o FOR, REPEAT, and WHILE repetitive control statements o CASE, IF-THEN, and IF-THEN-ELSE conditional statements o BEGIN...END compound statement o User-defined procedures and functions that can return structured types (other than file types) o GET, PUT, READ, WRITE, READLN, and WRITELN input and output pro- cedures o Concatenation operator and set of predefined character string func- tions including INDEX, LENGTH, and SUBSTR o Standard set of functions, procedures, and operators o Module initialization and finalization o Initial state specification o Enhanced structured value constructors o Implementation characteristics (MAXCHAR, MINREAL, MAXREAL, EPSREAL) o OTHERWISE clause and case ranges for CASE statement and variant records o Date and Time functions and procedures o Short Circuit Boolean Operators (AND_THEN and OR_ELSE) o Non-Decimal representation of numbers o Exponentiation operator (**) Pascal Extensions o DOUBLE (IEEE T_floating) data type that supports the Alpha extended range and extended precision floating point architectural features o VARYING data type denoting variable-length character strings up to 65,535 characters 2 o Concatenation operator and set of predefined character string func- tions including INDEX, LENGTH, and SUBSTR o Optional attributes specification on constants, variables, types, type identifiers, routines, routine parameters, schema discrimi- nants, and compilation units o MODULE capability for combining procedures, functions, and other declarations for compilation separate from the main program o ENVIRONMENT and INHERIT attributes to control separate and inde- pendent compilation o UNSIGNED, CARDINAL, INTEGER_ADDRESS, INTEGERnn, UNSIGNEDnn, POINTER, and SINGLE predefined types o VALUE initialization section and optional value initialization in declaration section program level o External procedure and function declarations o Nonpositional passing of parameters o RETURN, BREAK, CONTINUE, EXIT, and NEXT statements o Default values for parameters o Double-quoted character strings with backslash constants o 31-character identifiers that can include dollar sign ($) and un- derscore (_) Options available to Compaq Pascal users at compile time include: o Run-time checks for array, character string, and subrange bounds o Run-time checks for arithmetic overflow, valid case selector val- ues, and null pointer variables o Run-time checks for invalid declarations and illegal GOTO usage o Creation of an environment file facilitating separate compilation o Cross-reference listing 3 o Creating in the listing file a representation of the object code generated by the compiler o Printing of information-level messages, flagging uses Pascal ex- tensions to the ISO and ANSI standards Run-Time Library Redistribution The Compaq Pascal kit may include updated Run-Time Library shareable images. Compaq grants the user a nonexclusive royalty-free worldwide right to reproduce and distribute the executable version of the Run- Time Library (the "RTLs") provided that the user: o distributes the RTLs only in conjunction with and as a part of the user's software application product which is designed to operate in the Compaq Tru64 UNIX environment; o does not use Compaq's name, logo, or trademarks to market the user's software application product; o includes Compaq's copyright notice for Compaq Pascal on the user's product disk label and/or on the title page of the documentation for software application product; and o agrees to indemnify, hold harmless, and defend Compaq from and against any claims or lawsuits, including attor- ney's fees, that arise or result from the use or distribution of the software application product. Except as expressly provided herein, Compaq grants no implied or express license under any of its patents, copyrights, trade secrets, trademarks, or any license or other pro- prietary interests and rights. For Compaq Tru64 UNIX systems, the RTL images are designated as: o /usr/lib/libpas.so o /usr/lib/nls/msg/en_US.88591/libpas_msg.cat 4 HARDWARE REQUIREMENTS Processors Supported Any Alpha system capable of running the Compaq Tru64 UNIX Operating System. Refer to the Tru64 UNIX operating system's Software Product Description (SPD 41.61.xx) for details. Disk Space Requirements (Block Cluster Size = 1) Disk space required for installation: Root file sys- / 0 Kbytes tem: Other file /usr 7,100 Kbytes systems: /tmp 400 Kbytes /var 0 Kbytes Disk space required for use (permanent): Root file sys- / 0 Kbytes tem: Other file /usr 6,500 Kbytes systems: /var 0 Kbytes These counts refer to the disk space required on the system disk. The sizes are approximate; actual sizes may vary depending on the user's system environment, configuration, and software options. SOFTWARE REQUIREMENTS o Compaq Tru64 UNIX Operating System Version 4.0B to Version 5.0 (SPD 41.61.xx) o Developers' Toolkit for Compaq Tru64 UNIX (SPD 44.36.xx) 5 SOFTWARE LICENSING This software is furnished only under a license. For more information about Compaq's licensing terms and policies, contact your local Com- paq office. LICENSE MANAGEMENT FACILITY SUPPORT: This layered product supports the Compaq Tru64 UNIX License Manage- ment Facility. License units for this product are allocated on a Capacity Use, Per- sonal Use and Concurrent Use basis. Each Personal Use license allows one identified individual to use the layered product. Each Concurrent Use license allows any one individ- ual at a time to use the layered product. For more information on the License Management Facility, refer to the Compaq Tru64 UNIX Operating System Software Product Description or the License Management Facility manual of the Compaq Tru64 UNIX Operat- ing System documentation set. For more information about Compaq's licensing terms and policies, con- tact your local Compaq office. GROWTH CONSIDERATIONS The minimum hardware and software requirements for any future version of this product may be different from the requirements for the cur- rent version. DISTRIBUTION MEDIA Compaq Pascal for Tru64 UNIX is available on the Compaq Tru64 UNIX Al- pha Software Layered Products Library Package (QA-054AA-H8). The li- brary package includes media and documentation on CD-ROM. 6 The software documentation for this product is also available as part of the Compaq Tru64 UNIX Alpha Online Documentation Library (QA-4KP8A- G8). A hardcopy documentation set can be ordered separately (QA-MUKAA- GZ). YEAR 2000 READY This product is Year 2000 Ready. Year 2000 Ready is defined: "Year 2000 Ready" products are defined by Compaq as products capable of accurately processing, providing, and /or receiving date data from, into and between the twentieth and the twenty -first centuries, and the years 1999 and 2000, including leap year calculations, when used in accordance with the associated Com- paq product documentation and provided that all hardware, firmware and software used in combination with such Compaq products properly ex- change accurate date data with Compaq products. For additional information visit Compaq's DIGITAL Products Year 2000 Ready web site located at http://www.compaq.com/year2000/warranties3.html SOFTWARE WARRANTY This software is provided by Compaq with a 90 day conformance warranty in accordance with the Compaq warranty terms applicable to the license purchase. ORDERING INFORMATION Compaq Pascal for Tru64 UNIX license: Software Licenses: Personal Use: QL-MUKAM-2B Concurrent Use: QL-MUKAM-3* Traditional/Capacity Use: QL-MUKA*-AA 7 Software Update Licenses: Personal Use: QL-MUKAM-4B Concurrent Use: QL-MUKAM-5* Traditional/Capacity Use: QL-MUKA*-RA * The "*" denotes variant fields. The ordering information is valid at the time of release. Please con- tact your local Compaq office for the most up to date information. SOFTWARE PRODUCT SERVICES A variety of service options are available from Compaq. For more in- formation, contact your local Compaq office. TRADEMARK INFORMATION [TM] Compaq, the Compaq Logo, the Digital logo, DIGITAL, Alpha, DEC, DEC Pascal, Tru64 UNIX, DECwindows, DEC FUSE, Open- VMS, VMS and VAX RMS are registered in the U.S. Patent and Trademark office. [TM] UNIX is a registered trademark in the United States and other countries, licensed exclusively through X/Open Company Ltd. Other product names mentioned herein may be the trademarks of their respective companies. © Copyright 1999 Digital Equipment Corporation. 8