View Single Post
Old Nov 21st, 2005, 7:45 PM   #4
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
It isn't really weird. If there's an error, there's not much point in proceeding. It will depend mainly upon whether or not the error dinks up subsequent parsing. Did you pop up the Javascript Console and see if it had news for you?

EDIT: Incidentally, using tokens like "min" and "max", even though they don't cause a problem under the circumstances, is stylistically shaky and potentially perilous when they're keywords for other things, like Math methods.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote