Jump to content

Is there a way to comment an expression in Spotfire


Roger Groening

Recommended Posts

Hi, not following: if I have a long expression like the following....with many complex Case statements....

COMMENT explaining Case Statement 1

Case statement 1

COMMENT explaining Case Statement 2

Case statement 2

and so on....through Case Statement 100....

How do I create these COMMENTS without breaking the expression

Link to comment
Share on other sites

  • 5 months later...
  • 3 months later...

If your goal is to document the backend of the case statement in such a way that the data is unaffected and the rendering time is not negatively impacted then all you need is a when clause that is never true.

Ex:WHEN 1=2 THEN "----------------COMMENT--- BEGINNING NEXT LOGICAL BLOCK-----------------"

This still gives a visual break in the expression so that the comment is visible.

Link to comment
Share on other sites

  • 1 year later...
  • 5 months later...
  • 1 year later...
  • 7 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...