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
  • UnserFranz's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 6 months ago #174129 by UnserFranz
Hi everybody.

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
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 6 months ago #174146 by holch
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.
More
5 years 6 months ago - 5 years 6 months 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.
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
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 6 months ago #174149 by holch
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
  • UnserFranz's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
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.

Lime-years ahead

Online-surveys for every purse and purpose