Re: A mysterious divide by 0 error
I'm unable to replicate this bug. Can you paste the code exactly as it appears? Going off of this though, I'd say your bug is somewhere else. That if statement should take care of any divide by 0 errors that come about unless some how the value of u changes mid-way through the script's execution.
Also, makes sure u and dist are compatible variables for what you're wanting to do.
_______________________________________________ Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector