Side-effects

A side-effect is an action that occurs outside the immediate scope of the formula. For example, @Prompt displays a dialog box in addition to returning a value. Make sure that a side-effect occurs at the correct point of a formula's execution.

The following @functions have side-effects:

@Function

Side-effect

@Command @PostedCommand

A Notes® command, such as opening a database, is performed.

@DbColumn @DbCommand @DbLookup

Another view or database is accessed, and data is retrieved.

@DDEInitiate @DDEExecute @DDEPoke @DDETerminate

A DDE conversation is initiated (or terminated), or a DDE statement is executed.

@MailSend

A Notes® mail memo is created and routed to another user or database.

@Prompt @PickList @DialogBox

A dialog box is displayed; data may be returned.