The following example is part of the change script for the save button in a window used to define currency formats. It uses this function to define whether a trailing negative symbol will be used for the multiformat value 3000, based upon whether a user checked the use_trailing check box. The result of this function is set to the trailing_neg_sym field, which is saved in the currency_format table.
trailing_neg_sym of table currency_format = Currency_SetNegativeAfterValue(3000, use_trailing); save table currency_format;