Syntax Differs When Calling a SUB without the CALL Keyword (41535)
The information in this article applies to:
- Microsoft QuickBASIC 4.0
- Microsoft QuickBASIC 4.0b
- Microsoft QuickBASIC 4.5
This article was previously published under Q41535 SUMMARY
When calling a SUBprogram in QuickBasic without the keyword "CALL" (by
specifying just the SUB name and arguments), you must omit the
parentheses around the parameter list. This is known as an "implied
CALL" statement. You must also declare that procedure in a DECLARE
statement.
This information applies to Microsoft QuickBasic Versions 4.00, 4.00b,
and 4.50, Microsoft Basic Compiler Versions 6.00 and 6.00b, and
Microsoft Basic PDS Version 7.00. Earlier versions of these products
do not support the implied CALL syntax.
Modification Type: | Minor | Last Reviewed: | 1/9/2003 |
---|
Keywords: | KB41535 |
---|
|