The information in this article applies to:
SYMPTOMSIn VBScript, when a function that is expecting an array as an argument is passed an argument that is not an array, but the function does not do any array-specific processing, no error is displayed and the function works normally. STATUSThis behavior is by design. MORE INFORMATIONSteps to Reproduce BehaviorThe following code will not produce an error saying that an array was expected, on the statement "ArrayFunction 3."
In VBScript, this just runs, with no error. In Visual Basic for
Applications, however, you get a compile error on the line "ArrayFunction
3" saying an array was expected.
Additional query words: Error missing lacking array function
Keywords : kbIE500 vbsMisc |
Last Reviewed: April 30, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |