bas7qck.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
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)