|| ( A ; B )
Perl-style or to select values. This is particularly useful for falling back to defaults values.
Average rating: 5.0 (1 vote) Log in to vote
||( 0; 2)
||( 1; 2)
Function definition: (Copy & paste into FileMaker's Edit Custom Function window)
Perl-style or to select values. Rather than FileMaker's native C-style "or", which casts values to binary for evaluation, || treats non-zero, non-empty values as truth and returns these true values as the result of the expression. This is particularly useful for falling back to defaults values.
Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.