Low cost ecommerce web development India flash website design

VARIABLES AND CONSTRUCTS

Dim ‘em first
To “Dim” it means to Dimension it. That’s VB lingo. A variable is declared in
VBScript using the Dim keyword.
<%
Dim myVar
%>
VB programmers will notice here, that we have not included any indication of
the type of the said variable. E.g. Dim myString as String, or Dim
myString$.
In VBScript, all variables are variants. Their type is determined automatically
by the runtime interpreter, and the programmer need not (and should not)
bother with them.
By default, VBScript does not force requiring variable declaration. That is, it
is allowed to use a variable directly without declaring it first. However,
experienced programmers know the importance of making it compulsory to
declare all your variables first – without that, the bugs that may result are
verrry difficult to detect. Considering this, we have here a simple directive to
make variable declaration compulsory.
<%
Option Explicit
Dim myVar
%>
Remember that Option Explicit must necessarily be the first statement of
your ASP page, otherwise a server error is generated.

Freelance web designer ASP PHP ecommerce web development India
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28. 29 30 31. 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64. 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91