- Posts: 7
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
How to write a 'comment' in (equation) syntax?
- UnserFranz
- Topic Author
- Offline
- New Member
Less
More
5 years 6 months ago #174129
by UnserFranz
How to write a 'comment' in (equation) syntax? was created by UnserFranz
Hi everybody.
How may I write a 'comment' in the (equation) syntax (like the /* ... */ in css or <!-- ... --> in HTML)?
eg
How may I write a 'comment' in the (equation) syntax (like the /* ... */ in css or <!-- ... --> in HTML)?
eg
Code:
{/*1st case or whatever*/ if(countif("1", q1.NAOK, q2.NAOK, q3.NAOK) == 3, "value 1", ""}
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11757
- Thank you received: 2753
5 years 6 months ago #174146
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic How to write a 'comment' in (equation) syntax?
I am not aware of this possibility.
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
The topic has been locked.
- jelo
- Offline
- Platinum Member
Less
More
- Posts: 5070
- Thank you received: 1263
5 years 6 months ago - 5 years 6 months ago #174147
by jelo
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Replied by jelo on 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.
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.
Code:
<!--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: 5 years 6 months ago by jelo.
The following user(s) said Thank You: UnserFranz
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11757
- Thank you received: 2753
5 years 6 months ago #174149
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic How to write a 'comment' in (equation) syntax?
Good idea! Makes sense. Might be enough for OP, let's see.
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
The topic has been locked.
- UnserFranz
- Topic Author
- Offline
- New Member
Less
More
- Posts: 7
- Thank you received: 0
5 years 6 months ago #174154
by UnserFranz
Replied by UnserFranz on topic How to write a 'comment' in (equation) syntax?
oh yeah, of course, the source ... thank you for the tip!
The topic has been locked.