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

More
1 month 13 hours ago #174129 by UnserFranz
UnserFranz created the topic: How to write a 'comment' in (equation) syntax?
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.

More
1 month 11 hours ago #174146 by holch
holch replied the topic: How to write a 'comment' in (equation) syntax?
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
1 month 11 hours ago - 1 month 11 hours ago #174147 by jelo
jelo replied the topic: How to write a 'comment' in (equation) syntax?
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-->

Are you a student conducting a survey? If yes, tell me why you use LimeSurvey?
www.limesurvey.org/forum/development/116...y-you-use-limesurvey
Last Edit: 1 month 11 hours ago by jelo.
The following user(s) said Thank You: UnserFranz

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

More
1 month 11 hours ago #174149 by holch
holch replied the topic: How to write a 'comment' in (equation) syntax?
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
1 month 10 hours ago #174154 by UnserFranz
UnserFranz replied the topic: How to write a 'comment' in (equation) syntax?
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!