faqts : Computers : Programming : Languages : Asp : ASP/VBScript : Language and Syntax

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

1 of 2 people (50%) answered Yes
Recently 1 of 2 people (50%) answered Yes


Is there a difference between using and not using Dim to declare variables?

Nov 23rd, 2005 04:50
Jonas Kolben, Ahmed Salie, http://msdn.microsoft.com/library/default.asp?url=/library/en-us/script56/html/vtoriStatements.asp

You should always use Dim but it is only necessary if you are running
your page with the Option Explicit statement.
Not using Dim with the Option Explicit statement will generate an error.

© 1999-2004 Synop Pty Ltd