Does the newline \n in GM scripts have to be in 
 
- Windows style Hex 0D 0A
or
- in Unix Style Hex \0A
 
or is it not relevant (=both are accepted)?
 

On Thursday, March 7, 2013 3:42:14 PM UTC+1, Tei wrote:

> // don't work? 
> thats weird, maybe you are using a editor that somehow is nuking the 
> newlines. 
>
> /* */   is the block comment from C that javascript support,  you can 
> comment a line just by enclosing it in the /* and */ symbol. 
>
> this will work, even if your text editor do something vile with  \n 
>
> On 7 March 2013 14:30, Ben <[email protected] <javascript:>> wrote: 
> > How do I tell GM that a line is just a comment and should not be 
> executed? 
> > 
> > I though "//" at the beginning (or somewhere in the mid) of a line would 
> do 
> > the trick (=mark the remaining part right of it as a comment) 
> > 
> > But this seems to be not the case. 
> > 
> > When I tried it out commenting out for a script command then 
> unpredicatable 
> > results occur. 
> > 
> > So is there a real safe comment tag? 
> > Ben 
>
>
> -- 
> -- 
> ℱin del ℳensaje. 
>

-- 
You received this message because you are subscribed to the Google Groups 
"greasemonkey-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/greasemonkey-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to