Is there a way to add comments to Calculated Value code? I've got some fairly complex stuff going on and comments would come in handy when I take a look at it again in the future.
Thanks! Greg
WebFOCUS 8.x, Service Pack 2 Windows, All Outputs (mainly Active Reports)
February 25, 2014, 03:37 AM
Ram Prasad E
You can add comments before the COMPUTE statement. Comments begin with -* Note: Comments should always start in a new line, you can not add comments in the same line as COMPUTE statement.
You can also create COMPUTEs in Master Files and there you can specify description for COMPUTEs.
So just to be clear, the only place I can add comments to a COMPUTE field is at the top? No embedded comments?
I don't have the ability to edit Master Files.
Thanks, Greg
WebFOCUS 8.x, Service Pack 2 Windows, All Outputs (mainly Active Reports)
February 26, 2014, 04:35 AM
George Patton
You can sprinkle comments throughout your code - as long as you don't plan to ever open it again with the report painter. If you do, it will move all the comments to the top.