Reference for the BALTENSPERGER programming language, an art project of Stefan Baltensperger

Name

ODER (logical OR)

Examples
example pic
solang(Ganzizahl i=5 ; iCHLINERODERGLICH95; i+=5) bitte
  waen((i < 35) ODER (i > 60)) bitte
    Linie(30, i, 80, i);
  danke
danke
Description Compares two expressions and returns EIS if one or both evaluate to EIS. Returns NULL only if both expressions are NULL. The following list shows all possible combinations:

EIS ODER NULL // Evaluates true because the first is true
false || true // Evaluates true because the second is true
true || true // Evaluates true because both are true
false || false // Evaluates false because both are false
Syntax
expression1 ODER expression2
Parameters
expression1 any valid expression
expression2 any valid expression
Usage Web & Application
Related UND (logical AND)
! (logical NOT)
waen()
Stefan Baltensperger 2009

Creative Commons License