Saturday, November 19, 2011

Variable Declaration

If you are a VB6 or ASP developer, and if you do not want to declare variables, you can do that by putting this line in the First line of the Source Code file

Option Explicit Off

Link: http://msdn.microsoft.com/en-us/library/y9341s4f%28v=vs.80%29.aspx

But it is better to turn this On, so that you can avoid misspelled variable names

Example

intToatl = intTotal + intValue

No comments:

Post a Comment