Strange javascript Script errors
All  1-3  4

Previous
 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
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All

 

 
 
Show messages: All  1-3  4