The information in this article applies to:
SYMPTOMSThe order of evaluation of the arguments to the Print statement differs in Visual Basic 3.0 and Visual Basic 4.0. CAUSEAll products that use Visual Basic for Applications, including Visual Basic 4.0, evaluate all function calls contained within a Print statement first, before any printing is done. Visual Basic 3.0 evaluates functions while executing the Print statement. STATUSThis behavior is by design. The order of evaluation of multiple functions within an expression is undefined and may change from version to version. This is documented at the end of the online Help for the Function statement. MORE INFORMATIONSteps to Reproduce Behavior
Visual Basic 3.0 evaluates functions while processing the Print statement.
Because Visual Basic 4.0 uses Visual Basic for Applications, all functions
are evaluated first, before any printing is done.
Additional query words:
Keywords : kbprg kbVBp400 IAPVBA VB4WIN vbwin |
Last Reviewed: October 22, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |