...just thought, the compiler should also avoid 'endless' in it's error message

Code: Select all
Macro mMin(a, b)
(a) * Bool((a) And (((a) <= (b)) Or ((b) = 0))) + (b) * Bool((b) And (((b) < (a)) Or ((a) = 0)))
EndMacro
s.s = ""
Debug "m |-3 -2 -1 0 1 2 3"
Debug "--+--------------------"
For a = -3 To 3
s = "" + RSet(Str(a), 2, " ") + "|"
For b = -3 To 3
m = mMin(a, b)
s + RSet(Str(m), 2, " ") + " "
Next b
Debug s
Next a