Strange javascript Script errors

 From:  Michael Gibson
5772.4 In reply to 5772.3 
Hi Brian,

> What did not work, when I wanted the #include to be operational, and generated the error, was:
> /*
> Miscellaneous comments
> */
> #include "GetPoint.js"


This is because the include expander stops looking for #includes after it thinks it has seen some actual script content - it knows to skip any whitespace lines or any lines starting with // but it doesn't know about /* */ comments and so it thinks those are the start of some actual script, sorry about the confusion there.

I'll add a note to myself to try and get the include expander to handle /* */ comments too, to avoid this confusion in the future.

Thanks, - Michael