#or()
DESCRIPTION
returns TRUE if any of a series of logical values or expressions are TRUE (non-zero);
FALSE otherwise (if none of the logical values or expressions are TRUE or non-zero)
SYNOPSIS
#or(x1,x2,...)
ARGUMENTS
x1,x2,... - a series of logical values, or logical expressions, separated by commas
EXAMPLES
# pikt +C 'output $text(#or(2+2==5,#false(),#isalpha("foo")))'
1
# pikt +C 'output $text(#or(2+2==5,#false(),#isalpha("3")))'
0
bypass_weekend
if #or(=friday && =evening, =saturday, =sunday)
quit
fi
if #or(#lineage == #err(), #lineage < 0, #monthturnovers > 1)
next // not in current year, or bad input line
endif
SEE ALSO
#and()
#true()
#false()
#not()
#if()
Numerical Functions
String Functions