The updatingwindow( function

“The updatingwindow( function returns true if in a formula that is being displayed on a form, otherwise false.”

What does this sentence mean? It is from the Help file.

This function returns true if in a formula that is being displayed on a form, otherwise false. The primary use for this is in forms that are templates for web forms. Using this function allows a formula (or procedure) to produce a different result depending on whether the result will be displayed on the screen or is being used to generate an HTML page.

You have a formula in a form object, that will be used as a template for a web form. When the formula is being evaluated to generate html, the result will contain tags. When it is evaluated for display in the Panorama form, you don’t want the tags. The function is used to tell which is the case. When the formula is extracted from the object, and evaluated by an execute command, that function returns false. When the formula is being evaluated to display the object in Panorama, the function returns true.

That sort of makes sense, but I think that it should be "This function returns true when it is in a formula…