Compaq BASIC for OpenVMS
Alpha and VAX Systems
Reference Manual


Previous Contents Index

S
SAVE command
    with RENAME command
%SBTTL directive
SCALE command
Scale factor
    setting with OPTION statement
    setting with SCALE command
/SCALE qualifier
SCRATCH command
SCRATCH statement
SEG$ function
Segmented keys
SELECT
    transferring control into #1
    transferring control into #2
SELECT statement
Semicolon (:)
    in INPUT LINE statement
    in INPUT statement
    in LINPUT statement
    in MAT PRINT statement
    in PRINT statement
SEQUENCE command
Sequential files
    deleting records in
    finding records in
    fixed-length
    NOSPAN clause
    opening
    record size in
    retrieving records in
    stream
    updating
    variable-length
    writing records to #1
    writing records to #2
SET command
    BASIC qualifiers
SET PROMPT statement
/SETUP qualifier
SFLOAT data type #1
SFLOAT data type #2
SGN function
SHOW command
/SHOW qualifier
    CDD_DEFINITIONS
    %INCLUDE directive
SIN function
Sine
SINGLE data type
Single-line
    DEF* functions
    DEF statement
    loops #1
    loops #2
    loops #3
/SINGLE qualifier
Single-statement lines
Size
    of numeric data
    of STRING data
SLEEP statement
Source text
    copying #1
    copying #2
SPACE$ function
SQR function
SQRT function
Square roots
STARLET routines
Statement blocks
    exiting
Statement modifiers
    FOR statement
    IF statement #1
    IF statement #2
    UNLESS statement
    UNTIL statement
    WHILE statement
Statements
    backslash separator
    block #1
    block #2
    block #3
    block #4
    block #5
    block #6
    components of
    continued #1
    continued #2
    data typing
    declarative
    executable
    execution of
    format of
    labeling of
    multistatement lines
    nonexecutable #1
    nonexecutable #2
    nonexecutable #3
    nonexecutable #4
    nonexecutable #5
    nonexecutable #6
    nonexecutable #7
    nonexecutable #8
    nonexecutable #9
    nonexecutable #10
    order of
    single-line
Static
    arrays
    mapping
    storage #1
    storage #2
    storage #3
STATUS function
    BASIC STATUS bits
STEP clause
STOP statement
    See also CONTINUE statement
    with RUN command
Storage
    allocating for FILL items #1
    allocating for FILL items #2
    allocating for RECORD structures
    allocating for VARIANT fields
    allocating with MAP DYNAMIC statement
    allocating with MAP statement
    allocating with REMAP statement
    COMMON area and MAP area #1
    COMMON area and MAP area #2
    dynamic #1
    dynamic #2
    dynamic #3
    for arrays
    for FILL items #1
    for FILL items #2
    for record structures
    in COMMON statement
    in MAP statement
    of data
    of DECIMAL data
    of RFA data
    of STRING data
    shared #1
    shared #2
    static #1
    static #2
    static #3
STR$ function
Stream
    format
    record
String arithmetic functions
    DIF$ function
    PLACE$ function
    PROD$ function
    QUO$ function
    SUM$ function
String constants
    processing of
String data
    assigning with LSET statement
    assigning with RSET statement
STRING data type
    length
    storage of
String expressions
    relational
STRING$ function
String functions
    ASCII function
    EDIT$ function
    INSTR function
    LEFT$ function
    LEN function
    MID$ function
    POS function
    RIGHT$ function
    SEG$ function
    SPACE$ function
    STRING$ function
    TRM$ function
    XLATE$ function
String literals
    continuing
    delimiter
    in PRINT USING statement
    processing of #1
    processing of #2
    quotation marks in
String relational expressions
    evaluation of
    operators
    padding
String variables
    formatting storage #1
    formatting storage #2
    in INPUT LINE statement
    in INPUT statement
    in LET statement
    in LINPUT statement
Strings
    comparing #1
    comparing #2
    concatenating #1
    concatenating #2
    converting
    creating #1
    creating #2
    editing #1
    editing #2
    extracting substrings #1
    extracting substrings #2
    extracting substrings #3
    extracting substrings #4
    finding length
    finding substrings #1
    finding substrings #2
    justifying with FORMAT$ function
    justifying with LSET statement
    justifying with PRINT USING statement
    justifying with RSET statement
    numeric #1
    numeric #2
    numeric #3
    numeric #4
    numeric #5
    numeric #6
    numeric #7
    numeric #8
    numeric #9
    numeric #10
    replacing substrings
    suffix character
SUB statement
    parameters
SUBEND statement
    See also END statement
SUBEXIT statement
    See also EXIT statement
Subprograms
    calling
    declaring
    ending #1
    ending #2
    ending #3
    error handling in #1
    error handling in #2
    error handling in #3
    error handling in #4
    exiting #1
    exiting #2
    FUNCTION statement
    naming #1
    naming #2
    recursion in
    returning from
    SUB statement
Subroutines
    external
    GOSUB statement
    RETURN statement
Subscripted variables
    format of
    range checking
    subscript range
Subscripts
    range of
Substrings
    extracting #1
    extracting #2
    extracting with LEFT$ function
    extracting with MID$ function
    extracting with RIGHT$ function
    extracting with SEG$ function
    finding #1
    finding #2
    replacing
Suffix characters
    integer
    string
SUM$ function
SWAP% function
/SYNTAX_CHECK qualifier
SYS$CURRENCY
SYS$DIGIT_SEP
SYS$RADIX_POINT
$ System-command


Previous Next Contents Index