T
tshad
I was curious if there is some reason why you don't need the "then" in the
if test of VB.Net or is it just ASP.NET.
I just noticed that I don't really need to explicitly put the word "then" as
part of my if statement.
For example:
if a = b
b= 10
end if
works just as well as
if a = b then
b = 10
end if.
That used to give an error.
Is there some reason this has changed? I haven't seen it mentioned anywhere
before.
Just curious.
Thanks,
Tom
if test of VB.Net or is it just ASP.NET.
I just noticed that I don't really need to explicitly put the word "then" as
part of my if statement.
For example:
if a = b
b= 10
end if
works just as well as
if a = b then
b = 10
end if.
That used to give an error.
Is there some reason this has changed? I haven't seen it mentioned anywhere
before.
Just curious.
Thanks,
Tom