Return value
Return value
Both system functions and decision tables (DT functions) can return a value (function result).
Within the decision table, the value is returned with "return(<value>)", where <value> represents a constant, a parameter, or an expression of the appropriate data type. The return value must be returned in every rule (even in the ELSE case).
Examples:
Return( 3 ) |
Return( Ident ) |
Return( f$Sqrt( a*a + b*b )) |