qck.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.
CALL[S] Statement (Non-Basic Procedures)
  Summary  Details  Example                Contents  Index  Back
──────────────────────────────────────────────────────────────────────────────
 Transfers control to a procedure written in a language other than Basic.;
 Syntax varies depending on the specified argument type.
 
 Syntax 1: For Non-Array Arguments
    CALL name [([[{BYVAL|SEG}] argument] [,[{BYVAL|SEG}] argument])]...
    CALLS name [argument] [,argument]...
 
 Syntax 2: For Array Arguments
    CALL name [([argument[()]] [, argument[()]])]...
    name [argument[()]] [, argument[()]]...
 
    ■ name         Name of non-Basic procedure to call
 
    ■ BYVAL        Passes argument by value rather than by reference;
                   cannot be used if argument is an array
 
    ■ SEG          Passes argument as a segmented (far) address; cannot be
                   used if argument is an array
 
    ■ argument     Variable, array, or expression passed to a procedure
                   (whole array arguments cannot be passed by CALLS);
                   use this syntax if argument is an array:
 
                        CALL ShellSort(IntArray())
 
 See Also
    CALL Statement (Basic Procedures)
    DECLARE Statement (Non-Basic Procedures)