bas7qck.hlp (Table of Contents; Topic list)
DECLARE Statement (Non-BASIC Procedures)
  Syntax  Details  Example                 Contents  Index  Back
─────────────────────────────────────────────────────────────────────────────
DECLARE FUNCTION name [CDECL] [ALIAS "aliasname"] [([parameterlist])]
DECLARE SUB name [CDECL] [ALIAS "aliasname"] [([parameterlist])]
 
    ■ FUNCTION         The external procedure returns a value and can
                       be used in an expression.
    ■ SUB              The external procedure is invoked like a BASIC SUB.
    ■ name             The name used to invoke the procedure.
    ■ CDECL            The procedure uses the C-language argument order
                       and naming conventions (see Details).
    ■ ALIAS            The procedure being called has another name in
                       the .OBJ or library file.
    ■ aliasname        The name the procedure has in the file or library.
    ■ parameterlist    The parameters to be passed to the invoked
                       procedure (see Details).
 
See Also    CALL, CALLS (Non-BASIC)