Chapter 20 |
20
|
Using BASIC in the Common Language Environment
|
20.1
|
Specifying Parameter-Passing Mechanisms
|
20.1.1
|
Passing Parameters by Reference
|
20.1.2
|
Passing Parameters by Descriptor
|
20.1.3
|
Passing Parameters by Value
|
20.1.4
|
BASIC Default Parameter-Passing Mechanisms
|
20.1.5
|
Creating Local Copies
|
20.1.6
|
Passing Arrays
|
20.2
|
Calling External Routines
|
20.2.1
|
Determining the Type of Call
|
20.2.2
|
Declaring an External Routine and Its Arguments
|
20.2.3
|
Calling the Routine
|
20.3
|
Calling BASIC Subprograms from Other Languages
|
20.4
|
Calling System Routines
|
20.4.1
|
OpenVMS Run-Time Library Routines
|
20.4.2
|
System Service Routines
|
20.4.3
|
System Routine Arguments
|
20.4.4
|
Including Symbolic Definitions
|
20.4.5
|
Condition Values
|
20.5
|
Examples of Calling System Routines
|
20.6
|
The OpenVMS Calling Standard
|
20.7
|
Additional Information
|
Chapter 21 |
21
|
Libraries and Shareable Images
|
21.1
|
Overview of Libraries
|
21.2
|
System-Supplied Libraries
|
21.3
|
Creating User-Supplied Object Module Libraries
|
21.3.1
|
Accessing User-Supplied Object Module Libraries in the BASIC Environment
|
21.3.2
|
Accessing User-Supplied Object Module Libraries at DCL Level
|
21.4
|
Shareable Images
|
21.4.1
|
Accessing Shareable Images in the BASIC Environment
|
21.4.2
|
Accessing Shareable Images at DCL Level
|
Chapter 22 |
22
|
Using CDD/Repository with BASIC
|
22.1
|
Overview of CDD/Repository
|
22.2
|
CDD/Repository Concepts
|
22.2.1
|
Dictionary Formats
|
22.2.2
|
Dictionary Path Names
|
22.2.3
|
Dictionary Entities
|
22.2.4
|
Dictionary Relationships
|
22.2.5
|
Extracting CDD/Repository Data Definitions
|
22.3
|
Using CDD/Repository with BASIC
|
22.3.1
|
/DEPENDENCY_DATA Qualifier
|
22.3.2
|
Creating Relationships with Included Record Definitions
|
22.4
|
Creating Relationships for Referenced Dictionary Entities
|
22.5
|
Specifying a CDD History List Entry
|
22.6
|
CDD/Repository Arrays
|
22.7
|
CDD/Repository Variants
|
22.8
|
NAME FOR BASIC Clause
|
22.9
|
CDD/Repository Data Types
|
22.9.1
|
Character String Data Types
|
22.9.2
|
Integer Data Types
|
22.9.3
|
Floating-Point Data Types
|
22.9.4
|
Decimal String Data Types
|
22.9.5
|
Other Data Types
|
Chapter 23 |
23
|
Using DECwindows Motif Bindings with BASIC
|
23.1
|
Overview of DECwindows Motif Concepts
|
23.2
|
Using DECwindows Motif Bindings with BASIC
|
23.3
|
DECwindows Motif Programming Examples Using BASIC
|
23.4
|
Special Considerations for Handling Strings with DECwindows Motif
|
Appendix A |
Appendix A
|
Compile-Time Error Messages
|
A.1
|
Compile-Time Errors
|
Appendix B |
Appendix B
|
Run-Time Messages
|
B.1
|
BASIC Run-Time Errors by Mnemonic
|
B.2
|
BASIC Run-Time Errors by Number
|
B.3
|
Errors Not Generated by BASIC
|
Appendix C |
Appendix C
|
Optional Programming Productivity Tools
|
C.1
|
Language Sensitive Editor (LSE) and Source Code Analyzer (SCA)
|
C.1.1
|
Preparing an SCA Library
|
C.1.2
|
Compiling from within LSE
|
C.1.3
|
BASIC Support for LSE and SCA Features
|
C.1.3.1
|
Programming Language Placeholders and Tokens
|
C.1.3.2
|
Placeholder and Design Comment Processing
|
C.2
|
CDD/Repository
|
C.3
|
Database Management System (DBMS)
|
C.4
|
Compaq Digital Test Manager for OpenVMS
|
C.5
|
Compaq Code Management System for OpenVMS (CMS)
|
Index |
Index |
Examples |
10-1 |
Assigning Values to Consecutive Array Elements |
10-2 |
Assigning Consecutive Multiples to Odd-Numbered Elements of Array |
14-1 |
Creating a USEROPEN Routine |
20-1 |
BASIC Main Program |
20-2 |
FORTRAN Subprogram |
20-3 |
Calling System Services |
20-4 |
Program Displaying the$QIOW System Service Routine |
22-1 |
CDDL |
22-2 |
Translated RECORD Statement |
C-1 |
LSE Placeholders in a BASIC Program |
Figures |
2-1 |
Running Multiple-Module Programs |
8-1 |
Multiple Maps |
18-1 |
Byte-Length Integer Format |
18-2 |
Word-Length Integer Format |
18-3 |
Longword Integer Format |
18-4 |
Quadword Integer Format |
18-5 |
Single-Precision Real Number Format |
18-6 |
Double-Precision Real Number Format |
18-7 |
Fixed-Length String Descriptor Format |
18-8 |
Dynamic String Descriptor Format |
18-9 |
Decimal Scalar String Descriptor |
Tables |
1 |
Conventions Used in This Manual |
2 |
Mnemonics and Other Terms Used in Syntax |
2-1 |
VAX BASIC Compiler Commands |
2-2 |
Examples of Editing in Line Mode |
3-1 |
Natural Boundaries For Supported Alpha BASIC Data Types |
4-1 |
Resultant Behavior of the STEP/INTO Command |
5-1 |
Predefined Constants |
7-1 |
MAT Statements |
7-2 |
MAT Statement Keywords |
8-1 |
FILL Item Formats, Representations, and Default Allocations |
11-1 |
String Arithmetic Functions |
11-2 |
Precision of String Arithmetic Functions |
12-1 |
String Modification |
12-2 |
EDIT$ Options |
14-1 |
Record Context After a FIND Operation |
14-2 |
Record Context After a GET Operation |
14-3 |
Record Context After a PUT Operation |
14-4 |
RMS Control Structures Set for the USEROPEN Clause |
15-1 |
Format Characters for Numeric Fields |
15-2 |
Format Characters for String Fields |
20-1 |
Valid Parameter-Passing Mechanisms |
20-2 |
Run-Time Library Facilities |
20-3 |
System Services |
20-4 |
OpenVMS Usages |
22-1 |
Supported CDD/Repository Data Types |
22-2 |
Unsupported CDD/Repository Data Types |
B-1 |
BASIC Run-Time Errors |
B-2 |
Errors Not Generated by BASIC |
C-1 |
Types of LSE Placeholders |
C-2 |
LSE Commands Used to Manipulate Tokens and Placeholders |