View Single Post
  #5  
Old 03-15-2009, 04:23 PM
salesman salesman is offline
Finger lickin' good.
salesman's Avatar
Join Date: Nov 2008
Location: Colorado
Posts: 1,865
salesman has much to be proud ofsalesman has much to be proud ofsalesman has much to be proud ofsalesman has much to be proud ofsalesman has much to be proud ofsalesman has much to be proud ofsalesman has much to be proud of
Quote:
Originally Posted by Tigairius View Post
Yes, in the script window the syntax highlighting will show that the whole script is commented out, but that's because it's just syntax highlighting. It doesn't really have anything to do with the script itself.

As a good rule of thumb I usually start a line like
HTML Code:
/*
  Comments here.
*/
So each one gets their own line.
Yea, it was just carelessness/bad luck on my part that the closing */ ended up on the same line as a previous // comment...at least now someone who has read this can watch out and not make the same mistake of trusting the script window.

EDIT: I thought everything within a block comment was ignored when compiled (isn't that the purpose of comments??)...why would one line comments within the block comment not be ignored?
Reply With Quote