Thanks Rob. I was hoping there was a more elegant solution (ie. less lines of code to do it) . Is there any way to write this as a function which returns a boolean.
-Venkman
I can't think of a way to do it as a function. Once you've debugged your code, you code get rid of two lines (the elseif bit), which makes this hardly any longer than a function-based approach (though, admittedly, not as clean). Rob
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.