My two pennies, shillings, etc. on this.

If anybody has not tried this tool, you really should..

It will help you not only debug a script for errors, but you can have it reformat your code, so it looks like it should be.

Cheers!

- Kent

_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's