Skip to main content

This is documentation for Caché & Ensemble. See the InterSystems IRIS version of this content.

For information on migrating to InterSystems IRIS, see Why Migrate to InterSystems IRIS?


CSP Runtime Expression




The #()# directive allows you place an expression within the body of a CSP page. This expression is evaluated on the server when the page is requested by a client. The result of the expression is sent to the client as part of the HTTP response.

For example, the following HTML:

The value of <I>x</I> is: <B>#(x)#</B>

Is equivalent to:

 Write "The value of <I>x</I> is: <B>",x,"</B>"