August 1, 2010
A function is a routine that returns a value when it executes. A procedure is a routine that does not return a value. In VBScript, there is a syntax difference between calling a procedure and function.
When calling a procedure with parameters, the parameters cannot be enclosed in parentheses.
When calling a function with parameters, the parameters cannot be enclosed in parentheses if the return value is not processed. Otherwise, the parameters must be enclosed in parentheses.
© 2025 GEOVAP | Terms of Use and Privacy Policy | Cookie preferences | Write to us