Section 4.1


[Page 623 (continued)]

In VB2005, every parameter in the header of a Sub or Function procedure must explicitly be declared as ByVal or ByRef. If neither is stated, VB2005 will automatically insert ByVal before the parameter name.

In a VB2005 call statement, the name of the Sub procedure must be followed with parentheses even if there are no arguments.




An Introduction to Programming Using Visual Basic 2005
Introduction to Programming Using Visual Basic 2005, An (6th Edition)
ISBN: 0130306541
EAN: 2147483647
Year: 2006
Pages: 164

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net