Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
What is the use of DIM ?
#4
Not Solved
Hi,
There are two types of Variable Declaration Explicit and Implicit

Explicit way of Declaration
Dim str1
str1 = "Test"

Implicit way of Declaration
str1 = "Test"

When you use Option Explicit you should declare the variable by Explicit way. Otherwise you will get "Error 500" -"Variable is undefined"



Reply


Messages In This Thread
What is the use of DIM ? - by shyam.emmadi - 06-24-2011, 08:07 PM
RE: What is the use of DIM ? - by prachi.aug23 - 07-07-2011, 12:19 PM
RE: What is the use of DIM ? - by rajpes - 07-07-2011, 10:53 PM
RE: What is the use of DIM ? - by hariraman.g - 08-09-2011, 08:21 PM
RE: What is the use of DIM ? - by tdevick - 08-09-2011, 08:39 PM
RE: What is the use of DIM ? - by Kasanagottu - 08-10-2011, 12:02 AM
RE: What is the use of DIM ? - by tdevick - 08-10-2011, 12:05 AM
RE: What is the use of DIM ? - by krr - 11-24-2011, 12:42 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)