For Programmers: Free Programming Magazines  


Home > Archive > ASP > May 2006 > Re: IIF statements not working









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: IIF statements not working
surf_doggie

2006-05-29, 7:56 am

Have you tried any debug?

function IIF(expr, truePart, FalsePart)
if expr then
IIF=truePart
response.write "expr is true"
response.end
else
IIF=FalsePart
end if
end function

call IIF(true,"truePart","FalsePart")

Earl
www.jhdesigninc.com

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com