5  Comments

Comments can be embedded within an expression to clarify its intent. C/C++ style comments are supported, which provide:

For example, assuming that the variables P_LEVEL and N_OBS have been defined within the parser, an expression such as this could be used:

/* Returns the p-level of a study if:
   p-level < 5% AND
   number of observations was at least 30.
1   Otherwise, NaN is returned. */

IF(// Review the results from the analysis
   AND(P_LEVEL < .05, N_OBS >= 30),
   // ...and return the p-level if acceptable
2   P_LEVEL,
   // or NaN if not
   NAN)
1
Comment that can span multiple lines.
2
Single line comment.