Comments within expressions

Is this possible already or anytime soon available?

I’ve noticed that, for various reasons, the expressions I’ve come across were not always self-explanatory,
so being able to throw in a comment, spot on, would be nice.

Thanks!

pp. 232 in the manual:

Whitespace, such as spaces, tabs and newlines, are largely ignored in the expression language. It is
often helpful to break your expression up onto multiple lines for clarity. Comments are delimited by two forward slashes. This will make the rest of that line be ignored. This example shows an if function
spread over 4 lines with comments annotating the arguments.

if( {Root Container.UseTagValueOption.selected},
{MyTags/SomeValue}, // Use the tag value
“Not Selected”, // Use default value if the user doesn’t check the box
)

1 Like