https://github.com/jrincayc/ucblogo-code
Raw File
Tip revision: e494a4e0c0e335b25b7436b36075800bcc1657c0 authored by Dan Malec on 05 September 2024, 01:42:59 UTC
Merge pull request #185 from jrincayc/artifacts
Tip revision: e494a4e
or
OR tf1 tf2
(OR tf1 tf2 tf3 ...)

	outputs TRUE if any input is TRUE, otherwise FALSE.  All inputs
	must be TRUE or FALSE.  (Comparison is case-insensitive regardless
	of the value of CASEIGNOREDP.  That is, "true" or "True" or "TRUE"
	are all the same.)  An input can be a list, in which case it is
	taken as an expression to run; that expression must produce a TRUE
	or FALSE value.  List expressions are evaluated from left to right;
	as soon as a TRUE value is found, the remaining inputs are not
	examined.  Example:
		IF OR :X=0 [some.long.computation] [...]
	to avoid the long computation if the first condition is met.

back to top