Own-Programming-Language-Tu.../examples/common/operators.own
2016-02-20 10:12:26 +02:00

7 lines
116 B
Plaintext

use "std"
// Ternary operator
a = 0
b = 1
print (a ? "text1" : "text2") + "\n"
print (b ? "text3" : "text4") + "\n"