How to write a 'comment' in (equation) syntax?

More
8 months 2 hours ago #174129 by UnserFranz
Hi everybody.

How may I write a 'comment' in the (equation) syntax (like the /* ... */ in css or <!-- ... --> in HTML)?

eg
{/*1st case or whatever*/ if(countif("1", q1.NAOK, q2.NAOK, q3.NAOK) == 3, "value 1", ""}

Please Log in or Create an account to join the conversation.

LimeSurvey Partners
More
8 months 1 hour ago #174146 by holch
I am not aware of this possibility.

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Please Log in or Create an account to join the conversation.

More
8 months 58 minutes ago - 8 months 57 minutes ago #174147 by jelo
The ExpressionManager (will be called ExpressionScript in the future) isn't really offering it's own comment tags.

For a equation question you might not need comments inside the actual scripting.

So the typical HTML comment (which can be seen in the HTML source!) might be helpful.
<!--This is a comment. Comments are not displayed in the browser-->

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Last edit: 8 months 57 minutes ago by jelo.
The following user(s) said Thank You: UnserFranz

Please Log in or Create an account to join the conversation.

More
8 months 43 minutes ago #174149 by holch
Good idea! Makes sense. Might be enough for OP, let's see.

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Please Log in or Create an account to join the conversation.

More
7 months 4 weeks ago #174154 by UnserFranz
oh yeah, of course, the source ... thank you for the tip!

Please Log in or Create an account to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!