HP OpenVMS Systems Documentation
HP BASIC for OpenVMS
User Manual
Previous
Contents
Index
Chapter 16
16
Compiler Directives
16.1
Overview of Compiler Directives
16.2
Controlling the Compilation Listing
16.2.1
%TITLE and %SBTTL Directives
16.2.2
%IDENT Directive
16.2.3
%PAGE Directive
16.2.4
%LIST and %NOLIST Directives
16.2.5
%CROSS and %NOCROSS Directives
16.3
Accessing External Source Files
16.4
Controlling Compilation
16.4.1
%LET Directive
16.4.2
%VARIANT Directive
16.4.3
%ABORT Directive
16.4.4
%PRINT Directive
16.4.5
%IF-%THEN-%ELSE-%END %IF Directive
16.4.6
%DEFINE and %UNDEFINE Directives
16.5
Record Dependency Relationships in CDD/Repository
Chapter 17
17
Data Representation
17.1
Integer Format
17.1.1
Byte-Length Integer Format
17.1.2
Word-Length Integer Format
17.1.3
Longword Integer Format
17.1.4
Quadword Integer Format
17.2
Real Number Format
17.2.1
SINGLE Floating-Point Number Format (F_floating)
17.2.2
DOUBLE Floating-Point Number Format (D_floating)
17.2.3
GFLOAT Floating-Point Number Format (G_floating)
17.2.4
SFLOAT Floating-Point Number Format (S_floating)
17.2.5
TFLOAT Floating-Point Number Format (T_floating)
17.2.6
XFLOAT Floating-Point Number Format (X_floating)
17.3
Packed Decimal Number Format
17.4
String and Array Descriptor Format
17.4.1
Fixed-Length String Descriptor Format
17.4.2
Dynamic String Descriptor Format
17.5
Array Descriptors
17.6
Decimal Scalar String Descriptor (Packed Decimal String Descriptor)
Part 3
Part 3
Using HP BASIC Features on OpenVMS Systems
Chapter 18
18
Advanced File Input and Output
18.1
RMS I/O to Magnetic Tape
18.1.1
Allocating and Mounting a Tape
18.1.2
Opening a Tape File for Output
18.1.3
Opening a Tape File for Input
18.1.4
Positioning a Tape
18.1.5
Writing Records to a File
18.1.6
Reading Records from a File
18.1.7
Controlling Tape Output Format
18.1.8
Rewinding a Tape
18.1.9
Closing a File
18.2
Device-Specific I/O
18.2.1
Device-Specific I/O to Unit Record Devices
18.2.2
Device-Specific I/O to Magnetic Tape Devices
18.2.2.1
Allocating and Mounting a Tape
18.2.2.2
Opening a Tape File for Output
18.2.2.3
Opening a Tape File for Input
18.2.2.4
Writing Records to a File
18.2.2.5
Reading Records from a File
18.2.2.6
Rewinding a Tape
18.2.2.7
Closing a Tape
18.2.3
Device-Specific I/O to Disks
18.2.3.1
Assigning and Mounting a Disk
18.2.3.2
Opening a Disk File for Output
18.2.3.3
Opening a Disk File for Input
18.2.3.4
Writing Records to a Disk File
18.2.3.5
Reading Records from a Disk File
18.3
I/O to Mailboxes
18.4
Network I/O
18.4.1
Remote File Access
18.4.2
Task-to-Task Communication
18.4.3
Accessing a VAX Rdb/VMS Database
Chapter 19
19
Using BASIC in the Common Language Environment
19.1
Specifying Parameter-Passing Mechanisms
19.1.1
Passing Parameters by Reference
19.1.2
Passing Parameters by Descriptor
19.1.3
Passing Parameters by Value
19.1.4
HP BASIC Default Parameter-Passing Mechanisms
19.1.5
Creating Local Copies
19.1.6
Passing Arrays
19.2
Calling External Routines
19.2.1
Determining the Type of Call
19.2.2
Declaring an External Routine and Its Arguments
19.2.3
Calling the Routine
19.3
Calling HP BASIC Subprograms from Other Languages
19.4
Calling System Routines
19.4.1
OpenVMS Run-Time Library Routines
19.4.2
System Service Routines
19.4.3
System Routine Arguments
19.4.4
Including Symbolic Definitions
19.4.5
Condition Values
19.5
Examples of Calling System Routines
19.6
OpenVMS Calling Standard
19.7
Additional Information
Previous
Next
Contents
Index