M
Mark
I was just debugging some code in studio. Very simple.
If [some expression] then return
It kept returning even though my expression was false. I even checked it in
the command window.
So I simply moved my "return" to another line and it started working.
if [some expression] then
return
end if
That is some major scary stuff. I was doing a DirectCast on an object and
calling it's "equals" method against another object.
if DirectCast(myobj, sometype).equals(myobj2) then return
Not sure if it's a bug or what.
If [some expression] then return
It kept returning even though my expression was false. I even checked it in
the command window.
So I simply moved my "return" to another line and it started working.
if [some expression] then
return
end if
That is some major scary stuff. I was doing a DirectCast on an object and
calling it's "equals" method against another object.
if DirectCast(myobj, sometype).equals(myobj2) then return
Not sure if it's a bug or what.