Skip to content

Return

Description

Ends the function and sets the result for the function.

Syntax

Return <Expression>

Sample

Return ({Customer.Purchases} - {Customer.Balance})

In the above example, the result is the difference between the total value of purchases by the customer and the balance.