Compaq BASIC for OpenVMS
Alpha and VAX Systems
Reference Manual


Previous Contents Index

O
Object module
    creating
    default name
    loading
    version identification
/OBJECT qualifier
Octal radix
OLD command
    with RUN command
/OLD_VERSION=CDD_ARRAY qualifier
ON ERROR GO BACK statement
    with END statement
    within a handler
    within protected regions
ON ERROR GOTO 0 statement
    with END statement
ON ERROR GOTO statement
    with END statement
    with WHEN blocks
    within a handler #1
    within a handler #2
    within protected regions #1
    within protected regions #2
ON...GOSUB...OTHERWISE statement
    with RETURN statement
ON...GOSUB statement
ON...GOTO...OTHERWISE statement
ON...GOTO statement
Online documentation
OPEN statement
    with STATUS function
Open VMS Common Data Dictionary/Repository
    and RECORD statement
Opening files
    with USEROPEN clause
Operator precedence #1
Operator precedence #2
Operator precedence #3
Operators
    arithmetic #1
    arithmetic #2
    evaluation of
    lexical #1
    lexical #2
    lexical #3
    logical
    numeric operator precedence
    numeric relational
    precedence of #1
    precedence of #2
    precedence of #3
    string relational
Optimization
/OPTIMIZE qualifier
OPTION statement
OPTIONAL
    with EXTERNAL statement
ORGANIZATION clause
OTHERWISE clause #1
OTHERWISE clause #2
Output
    formatting with FORMAT$ function
    formatting with PRINT USING statement
Output listing
    cross-reference information #1
    cross-reference information #2
    %LIST directive
    %NOLIST directive
    %PAGE directive
    %PRINT directive
    %SBTTL directive
    %TITLE directive
Overflow checking
/OVERFLOW qualifier
P
Packed decimal
    See also DECIMAL data type
%PAGE directive
Parameter-passing mechanisms
    DEF* functions
    DEF statement
    EXTERNAL statement
    FUNCTION statement
    SUB statement
Parameters
    array
    DEF* functions #1
    DEF* functions #2
    DEF statement #1
    DEF statement #2
    EXTERNAL statement
    function #1
    function #2
    FUNCTION subprograms
    modifiable
    nonmodifiable
    SUB subprograms
Parentheses
    in array names
    in expressions #1
    in expressions #2
Percent sign (%)
    in DATA statement #1
    in DATA statement #2
    in DECLARE statement
    in PRINT USING statement
    in variable names #1
    in variable names #2
    suffix character
Period (.)
    in PRINT USING statement
    in variable names
PLACE$ function
    rounding and truncation values
Platform
    description of
    labels
Plus sign (+)
    in string concatenation
POS function
Precision
    in PRINT statement
    in PRINT USING statement
    NUM$ function
    NUM1$ function
    of data types
    of numeric strings #1
    of numeric strings #2
    of numeric strings #3
    of numeric strings #4
    of numeric strings #5
Predefined constants
PRIMARY KEY clause
%PRINT directive
PRINT statement
    with TAB function
PRINT USING statement
Print zones
    in MAT PRINT statement
    in PRINT statement
PROD$ function
    rounding and truncation values
Program control statements
    END statement
    EXIT statement
    FOR statement
    GOSUB statement
    GOTO statement
    IF statement
    ITERATE statement
    ON...GOSUB statement
    ON...GOTO statement
    RESUME statement
    RETURN statement
    SELECT statement
    SLEEP statement
    STOP statement
    UNTIL statement
    WAIT statement
    WHILE statement
Program documentation
Program elements
Program execution
    continuing #1
    continuing #2
    initiating with RUN command
    stopping #1
    stopping #2
    stopping #3
    suspending
    waiting for input
Program input
    INPUT LINE statement
    INPUT statement
    LINPUT
    waiting for
Program lines
    automatic sequencing
    deleting
    displaying
    editing
    elements of #1
    elements of #2
    format of #1
    format of #2
    format of #3
    length of
    numbering #1
    numbering #2
    order of
    resequencing
    terminating #1
    terminating #2
PROGRAM statement
Programs
    compiling
    continuing #1
    continuing #2
    debugging
    deleting
    editing
    ending
    executing
    halting #1
    halting #2
    merging
    naming
    renaming
    saving #1
    saving #2
    stopping #1
    stopping #2
    stopping #3
Promotion rules
    data type
    DECIMAL
    floating-point
    integer
Prompt
    after STOP statement
    INPUT LINE statement
    INPUT statement
    LINPUT statement
    MAT INPUT statement
    MAT LINPUT statement
PSECT #1
PSECT #2
PUT statement


Previous Next Contents Index