Commenting out a line

UnclearImage86
20 Nov 2020, 02:46

Is there a way to comment out a line? Basically a note for just me to know what variable is for or whatever.

I've tried Javascripts // and it didn't work, neither did '#' or '/* */' or the three quotes.

Is this not a feature?


mrangel
20 Nov 2020, 10:13

I believe javascript comments should work within javascript sections (so four spaces and '//'), but haven't tested it.

Within text sections, HTML comments should work like any other HTML; so that's <!-- and -->


Bluevoss
02 Dec 2020, 20:49

You have to be careful with this one. Comments in squiffy are as follows...

<COMMENT>

However, sometimes the interpreter gets a little fun and tends to execute what's in the comments. So it's good to just use words in the comment area.