G
Guest
I have a module that's processed as an include file in a tradtional asp
application that I'm migrating to dotnet.
In one of the modules, there's an if statement that's gotten appended to
over the years it's been in production, that when it's been translated into
dotnet, the if statement (if..... then) itself is several hundred characters
long.
The original statement was similar to:
if session("rpt") = "X1" and (session("user") = "User1" or session("user") =
"User2".....
which has now become
if session("rpt").ToString() = "X1" and (session("user").ToString() =
"User1" or session("user").ToString() = "User2".......
Is there a max length that the if statement can be?
SC
application that I'm migrating to dotnet.
In one of the modules, there's an if statement that's gotten appended to
over the years it's been in production, that when it's been translated into
dotnet, the if statement (if..... then) itself is several hundred characters
long.
The original statement was similar to:
if session("rpt") = "X1" and (session("user") = "User1" or session("user") =
"User2".....
which has now become
if session("rpt").ToString() = "X1" and (session("user").ToString() =
"User1" or session("user").ToString() = "User2".......
Is there a max length that the if statement can be?
SC