S
Serge Myrand
Hi everybody,
In an ASP page, I need to load twice an include file that contains
variables. So I get an error message "variable redefine" I tried to test
with VarType before to define the variable (dim) with no success. Is it
faisable with VBScript to define a variable (dim) under condition.
' this code gives an error
if VarType("MyVar") = vbNull then
dim MyVar
end if
many thank's
serge
In an ASP page, I need to load twice an include file that contains
variables. So I get an error message "variable redefine" I tried to test
with VarType before to define the variable (dim) with no success. Is it
faisable with VBScript to define a variable (dim) under condition.
' this code gives an error
if VarType("MyVar") = vbNull then
dim MyVar
end if
many thank's
serge