operators logic
Since v1.0.0
Available on all platforms
See also

The OR operator is a synonymous for ||.

It performs a logical OR on its parameters. When applied to a list of parameters, the parameter scan stops at the first true value encountered.

Since Warp 10™ 2.1, OR can be applied on two boolean GTS to produce a new GTS.



// // Examples with booleans parameters // true true OR false true OR false false OR // // Examples with list of booleans or macros // [ true true false false ] OR <% true %> 'true_macro' STORE <% false %> 'false_macro' STORE [ @true_macro @true_macro @false_macro @false_macro ] OR [ false false @false_macro @false_macro ] OR