       $                               COMPAQ   Software Product  Description   C ___________________________________________________________________   C PRODUCT NAME:  Compaq BASIC Version 1.5 for OpenVMS Alpha SPD   SPD ? 25.36.34               Compaq BASIC Version 3.9 for OpenVMS VAX   C This Software Product Description describes the following two prod-  ucts:   C o  Compaq BASIC Version 1.5 for OpenVMS Alpha Systems (formerly DEC 	    BASIC)   E o  Compaq BASIC Version 3.9 for OpenVMS VAX Systems (formerly VAX BA-     SIC)   D The short forms "Alpha BASIC" and "VAX BASIC" are frequently used to! refer to these two product names.    DESCRIPTION   D Compaq BASIC is a shareable language processor for the OpenVMS oper-D ating system. It can be invoked as a compiler and the resulting mod-E ules can be linked and run with standard OpenVMS commands. Compaq BA- C SIC provides high performance for application development by gener- F ating inline native mode instructions. Compaq BASIC is also integratedC with various programming productivity tools such as the OpenVMS De- E bugger, the Language-Sensitive Editor (LSE), the Source Code Analyzer 0 (SCA) and the Performance and Coverage Analyzer.  J Alpha BASIC includes three IEEE floating point data types (SFLOAT, TFLOAT,) and XFLOAT) and a QUAD integer data type.   C                                                            May 2002         FEATURES  E Compaq BASIC is integrated into the Common Language Environment. This - integration provides Compaq BASIC users with:   5 o  Support for OpenVMS interlanguage calling standard   ( o  Access to all OpenVMS system services  3 o  Access to the facilities of the OpenVMS Debugger   6 o  Callable interfaces to the OpenVMS Run-Time Library  , o  Support for the Language-Sensitive Editor  $ o  Structured programming constructs  '    -  Line numbers completely optional.   F    -  DECLARE statement which removes requirement for (%) and ($) suf-       fixes.  3    -  IF...THEN...ELSE...END IF conditional blocks.   ;    -  SELECT...CASE...END SELECT multi-way decision blocks.   C    -  OTHERWISE out-of-range clause for ON GOTO and ON GOSUB state-        ments.  C    -  Structured exception handling (WHEN blocks) for main and sub-        programs.   E    -  Statement modifiers to control the execution of a single state-        ment.   C    -  PROGRAM, SUB, and FUNCTION statements to declare program mod-        ules.   @    -  END and EXIT PROGRAM statements to return a status to DCL.  ' o  Modern programming language features   C    -  Uses the full printable ASCII character set and 8-bit charac- 4       ter codes within constants and I/O operations.  1    -  31 character alphanumeric statement labels.   "                                  2       =    -  31 character variable names, allowing ($), (_) and (.).   C    -  RECORD structure for user-defined data types (similar to PAS- F       CAL record types), including RECORD structure retrieval from the       Common Data Dictionary.   E    -  OPTION statement specifing compiler defaults within source mod-        ules.    o  Program segmentation   D    -  SUB and FUNCTION subprograms as individually compiled modules.  D    -  Ability to pass parameters by value, reference, or descriptor.  >    -  Up to 254 actual arguments per call on external modules.  D    -  Ability to invoke EXTERNAL function procedures from Compaq BA-
       SIC.  )    -  Recursive CALL/function invocation.   C    -  Ability to invoke OpenVMS System Service and Run-Time Library        routines.   D    -  Ability to invoke subprograms and function programs written in*       other OpenVMS native mode languages.  F    -  Compaq BASIC program modules invoked by other OpenVMS languages.  A    -  Ability to pass optional arguments to non-BASIC procedures.   @    -  Single and multiple line user-defined functions using DEF.  E    -  COMMON and MAP statements for creating static storage areas for ,       communication between program modules.   o  Graphics - VAX BASIC only  3    -  Statements modeled after ANSI BASIC Graphics.   G    -  Implemented using GKS for OpenVMS to provide device independence.   C    -  Graphic output primitives including points, lines, areas, and        text.   "                                  3       E    -  Graphic input types including points, menu choice, value selec-        tion, and text.   F    -  Ability to adjust the range of coordinate values to suit the ap-       plication.  F    -  SET and ASK statements to specify and retrieve graphic attribute
       values.   C    -  Graphic procedures (PICTURE subprograms) for building complex        objects.  =    -  Ability to apply transformations to PICTURE procedures.   : o  Full access to OpenVMS Record Management Services (RMS)      -  Sequential I/O      -  Relative I/O  D    -  Multiple key Indexed I/O operations, including support for in-C       teger (word, longword and quadword), string, segmented string 4       keys, packed decimal keys, and descending keys  -    -  Random access to sequential fixed files   9    -  Virtual arrays (arrays mapped onto disk structures)   C    -  Record File Address (RFA) access for direct access to records   * o  Extended report formatting capabilities  !    -  Suppression of zero fields.   =    -  Zero fill, blank fill, or asterisk fill numeric fields.   %    -  Commas in large numeric values.   +    -  CR (credit) or DR (debit) indicators.   2    -  Floating currency symbol for numeric fields.  =    -  Currency and decimal symbols changed for foreign usage.   A    -  FORMAT$ function accepting full PRINT USING editing syntax.   "                                  4       , o  Implicit or explicit storage declarations  D    -  Specification of data types permitted on COMMON, DECLARE, DEF,D       DIMENSION, EXTERNAL, FUNCTION, MAP, RECORD and SUB statements.  G    -  Default data allocation rules specified with DCL qualifiers, Com- E       paq BASIC commands, or by the OPTION statement in program text.   D    -  By default all declarations implicit, however, the OPTION TYPEC       = EXPLICIT can be used to require explicit declaration of all        variables.  D    -  Default constant types specified with the OPTION CONSTANT TYPE       statement.  "    -  INTEGER data type including:            * BYTE (8 bit)           * WORD (16 bit)          * LONG (32 bit))          * QUAD (64 bit)-Alpha BASIC only       -  REAL data type including:             * SINGLE (6 digits)F          * DOUBLE (16 digits)-Alpha BASIC uses 15 digits operationally          and stores 16 digits           * GFLOAT (15 digits) ,          * HFLOAT (33 digits)-VAX BASIC only@          * SFLOAT (6 digits)-an IEEE data type; Alpha BASIC onlyA          * TFLOAT (15 digits)-an IEEE data type; Alpha BASIC only A          * XFLOAT (33 digits)-an IEEE data type; Alpha BASIC only   5    -  Packed DECIMAL type supporting up to 31 digits.   E    -  STRING data type, allowing both static (in MAP or COMMON state- !       ments) and dynamic lengths.   C    -  Creation of user-defined named constants through DECLARE CON-        STANT.  C    -  Dynamic record definition and variable allocation via MAP DY-        NAMIC.  "                                  5       ' o  VAX BASIC Environment-VAX BASIC only   C    -  RUN command for immediate execution of Compaq BASIC programs.   >    -  EDIT command can invoke a user-selected editor directly.  !    -  HELP for online assistance.   3    -  SEQUENCE command for generating line numbers.   7    -  RESEQUENCE command for renumbering program lines.   C    -  Direct execution of Compaq BASIC statements (immediate mode).   )    -  Direct execution of DCL statements.   ,    -  Optional line-by-line syntax checking.  E    -  Dynamic linking (LOAD) of separately compiled Compaq BASIC mod- (       ules for use with the RUN command.  C    -  User-created libraries searched automatically when using RUN.    o  Compile-time directives  C    -  Text inclusion through %INCLUDE, %INCLUDE %FROM %CDD and %IN-        CLUDE from a text library   #    -  Conditional compilation (%IF)   1    -  Listing and output control (%NOLIST, %LIST)   -    -  Cross-reference output control (%CROSS)        -  Text replacement (%DEFINE)  E o  EXTERNAL statement allowing access to global variables, functions, G    and constants, and allowing data typing of parameters to aid in min-     imizing run-time mismatches.   D o  Language subsets and subset flaggers for cross system development    /migration-VAX BASIC only  8    -  Flagger showing feature unavailable on Alpha BASIC  5    -  Flagger showing use of old BASIC-PLUS-2 feature   "                                  6        o  Motif bindings support   8 o  Multiple line statements and multiple statement lines  ( o  Extensive array handling capabilities  .    -  Each array may have up to 32 dimensions.  >    -  Each dimension may specify both a lower and upper bound.  @    -  Array bounds can be specified at compile time or run time.  D    -  Matrix handling statements allow manipulation of matrices, in-$       cluding matrix multiplication.  E o  Compatibility with key RSTS/E BASIC-PLUS and BASIC-PLUS-2 features 
    including:   &    -  ON ERROR GOTO exception handling      -  FIELD Statement       -  CVT and SWAP% functions       -  Virtual arrays  &    -  Selected nonprivileged SYS calls  4    -  Statement modifiers for conditionals and loops  - o  Compaq BASIC Translator (see SPD 64.76.XX)    HARDWARE REQUIREMENTS    Processors Supported:   D Any Alpha system capable of running the OpenVMS Alpha operating sys-D tem Version 6.2 to 7.3 or any VAX capable of running the OpenVMS op-C erating system V5.5-2 to 7.2-1. Refer to the OpenVMS operating sys- C tem's Software Product Description (SPD 25.01.xx) for details. Disk , Space Requirements (Block Cluster Size = 1):  "                                  7        For Alpha systems:  4 Disk space required for      32,500 blocks (16.6 MB)
 installation:   4 Disk space required for      24,500 blocks (12.5 MB) use (permanent):   For VAX systems:  3 Disk space required for      13,000 blocks (6.7 MB) 
 installation:   3 Disk space required for      11,000 blocks (5.6 MB)  use (permanent):  E These counts refer to the disk space required on the system disk. The D sizes are approximate; actual sizes may vary depending on the user's8 system environment, configuration, and software options.   OPTIONAL HARDWARE   E Floating-point intensive applications should be run on configurations G with the appropriate hardware support for the floating-point data types G being used. Consult the base operating system Software Product Descrip- I tion (SPD 25.01.xx) for the Floating-Point Accelerator or other floating- 2 point hardware appropriate for your configuration.   SOFTWARE REQUIREMENTS    For Alpha Systems:  D o  OpenVMS Alpha operating system, Version 6.2 to 7.3. IEEE floating6    point and QUAD support requires Version 7.1 to 7.3.   For VAX Systems:  7 o  OpenVMS VAX operating system, Version 5.5-2 to 7.2-1     "                                  8        SOFTWARE LICENSING  E This software is only furnished under a license. For more information D about Compaq's licensing terms and policies, contact your local Com- paq office.   # LICENSE MANAGEMENT FACILITY SUPPORT   C This layered product supports the OpenVMS License Management Facil-  ity.  C License units for this product are allocated on a Capacity Use plus " Personal and Concurrent Use basis.  E Each Personal Use license allows one identified individual to use the D layered product. Each Concurrent Use license allows any one individ-) ual at a time to use the layered product.   E For more information on the License Management Facility, refer to the D OpenVMS Operating System Software Product Description or the LicenseC Management Facility manual of the OpenVMS Operating System documen-  tation set.    CLUSTER ENVIRONMENT   C This layered product is fully supported when installed on any valid D and licensed OpenVMS Cluster configuration without restrictions. TheD HARDWARE REQUIREMENTS section of this product's Software Product De-E scription detail any special hardware required by this product. Open- C VMS Cluster configurations are fully described in the OpenVMS Clus- E ter Software Product Description (29.78.xx) and include CI, Ethernet, & and Mixed Interconnect configurations.                "                                  9        OPTIONAL SOFTWARE   E Refer to the appropriate Software Product Description for details and * requirements on the products listed below.  D o  Language-Sensitive Editor component of the Language-Sensitive Ed-    itor/Source Code Analyzer  * o  Performance and Coverage Analyzer (PCA)  3 Required to fully use the /ANALYSIS_DATA qualifier:   E o  Source Code Analyzer component of Language-Sensitive Editor/Source     Code Analyzer  D Language-Sensitive Editor/Source Code Analyzer, Performance and Cov-G erage Analyzer are available as part of DECset for OpenVMS Systems (SPD 
 42.29.xx.)  D To use %INCLUDE %FROM %CDD or the %REPORT %DEPENDENCY directives and the /DEPENDENCY_DATA qualifier:    o  Oracle CDD/Repository[TM]  6 To use VAX BASIC graphics statements: (VAX BASIC only)  F o  GKS for OpenVMS Version 5.0-Version 6.4 Development or Run-Time Li-    cense  = Required to fully use the /DESIGN qualifier: (VAX BASIC only)   D o  Both components of Language-Sensitive Editor/Source Code Analyzer  C Language-Sensitive Editor/Source Code Analyzer is available as part E of DECset for OpenVMS Systems. Refer to DECset For OpenVMS Alpha Sys- C tems Sofware Product Description (SPD 42.29.xx) or DECset for Open- ; VMS VAX Systems Software Product Description (SPD 27.07.xx)       "                                 10        GROWTH CONSIDERATIONS   E The minimum hardware and software requirements for any future version C of this product may be different from the requirements for the cur- 
 rent version.    DISTRIBUTION MEDIA   Compaq BASIC for OpenVMS Alpha:   F Compaq BASIC for OpenVMS Alpha is available on the OpenVMS Alpha Soft-F ware Products Layered Library Package (QA-03XAA-H8). The library pack-C age includes media and documentation on CD-ROM. A hardcopy documen- 3 tation set can be ordered separately (QA-0Y7AA-GZ).    Compaq BASIC for OpenVMS VAX:   E Compaq BASIC for OpenVMS VAX is available on the OpenVMS VAX Software C Layered Products Library Package (QA-5G88A-H8). The library package D includes media and documentation on CD-ROM. Media/documentation kitsC containing only the VAX BASIC for OpenVMS VAX product are available C separately. The kits contain media on Magtape (9-track 1600 BPI) or D TK50 Streaming Tape with hardcopy documentation. A hardcopy documen-3 tation set can be ordered separately (QA-095AA-GZ).    SOFTWARE WARRANTY   F This software is provided by Compaq with a 90 day conformance warrantyF in accordance with the Compaq warranty terms applicable to the license	 purchase.                     "                                 11        ORDERING INFORMATION  ' Compaq BASIC for OpenVMS Alpha Systems:    Software Licenses:    Personal Use: QL-095AA-2B    Concurrent Use: QL-095AA-3*    Capacity Use: QL-0Y7A*-**) Software Media/Documentation: QA-03XAA-H8 . Software Documentation (hardcopy): QA-0Y7AA-GZ& Software Product Services: QT-0Y7A*-**  % Compaq BASIC for OpenVMS VAX Systems:    Software Licenses:    Personal Use: QL-095AA-2B    Concurrent Use: QL-095AA-3*    Capacity Use: QL-095A*-** Software Media: QA-095A*-** . Software Documentation (hardcopy): QA-095AA-GZ& Software Product Services: QT-095A*-**   The "*" denotes variant fields.   D The ordering information is valid at time of release. Please contact= your local Compaq office for the most up-to-date information.    SOFTWARE PRODUCT SERVICES   D A variety of service options are available from Compaq. For more in-, formation, contact your local Compaq office.  
 TRADEMARKS  2  2002 Compaq Information Technologies Group, L.P.  G COMPAQ, the Compaq logo, Alpha, OpenVMS, VAX, VMS, and the DIGITAL logo D are trademarks of Compaq Information Technologies Group, L.P. in the U.S. and/or other countries.  "                                 12       G BASIC is a trademark of the Trustees of Dartmouth College, D.B.A. Dart-d1 mouth College in the U.S. and/or other countries._  E Motif is a trademark of The Open Group in the U.S. and/or other coun-s tries.  C All other product names mentioned herein may be trademarks of theiro respective companies.   F Confidential computer software. Valid license from Compaq required forG possession, use or copying. Consistent with FAR 12.211 and 12.212, Com-EE mercial Computer Software, Computer Software Documentation, and Tech-fC nical Data for Commercial Items are licensed to the U.S. GovernmentB+ under vendor's standard commercial license.t  E Compaq shall not be liable for technical or editorial errors or omis-eC sions contained herein. The information is provided "as is" withoutaF warranty of any kind and is subject to change without notice. The war-E ranties for Compaq products are set forth in the express limited war-lE ranty statements accompanying such products. Nothing herein should beC1 construed as constituting an additional warranty.m                                      "                                 13