Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ error — Apollo

Media Vault

Software Library

Restoration Projects

Artifacts Sought

SYSCALLS/ERROR - error reporting module                   1985/04/30


Include files:

     Fortran:    /sys/ins/error.ins.ftn
     Pascal:     /sys/ins/error.ins.pas


Procedures and Functions:

    code = ERROR_$CODE (status)
        Returns the module-specific code from a status code.

    fail = ERROR_$FAIL (status)
        Returns the state of the fail bit of a status code.

    ERROR_$FIND_TEXT (status, subsys_p, subsys_l, module_p, module_l,
                      code_p, code_l)
        Finds the text associated with a status code and returns pointers.

    ERROR_$GET_TEXT (status, subsys_t, subsys_l, module_t, module_l,
                     code_t, code_l)
        Finds the text associated with a status code and returns strings.

    ERROR_$INIT_STD_FORMAT (stream-id, prefix-char, command, length)
        Establishes the values to be used in
        subsequent calls to ERROR_$STD_FORMAT.

    module = ERROR_$MODULE (status)
        Returns the module component from a status code.

    ERROR_$PRINT (status)
        Prints error text associated with a status code.

    ERROR_$PRINT_FORMAT (status, stream-id, prefix-char, command, length,
                         control-string, a1, a2, ... a10)
        Prints a status code in the given error format.

    ERROR_$PRINT_NAME (status, name, namelength)
        Prints error text associated with a status
        code, along with a user-supplied name.

    ERROR_$STD_FORMAT (status, control-string, a1, a2, ... a10)
        Prints the status code in the standard
        error format using the values specified in
        the last call to ERROR_$INIT_STD_FORMAT.

    subsys = ERROR_$SUBSYS (status)
        Returns the subsystem component from a status code.

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026