ASP : Bugs
Bug 1
Dim foo
response.write typename("foo") = False // False
response.write foo= False //True
NVM - the problem is Im looking at a string foo, and not the variable foo.
Bug 2
response.write typename(foo) // Empty
response.write IsEmpty(foo) // true
if foo or IsEmpty(foo ) then
response.write typename(foo) // Long WRONG!
response.write IsEmpty(foo) // False WRONG!
end if
The FIx:
if (foo) or IsEmpty(foo ) then
//...
end if
//or
if foo=true or IsEmpty(foo ) then
//...
end if