quakeforge/tools/qfcc/test/bool.r

11 lines
192 B
R
Raw Normal View History

integer (integer x, integer y, integer z) foo =
{
if (x || !y && z) {
return x || y && z;
} else {
for (x = 0; (x || y) && z < 3; x++)
return (x || y && z) ? 4 : 9;
}
return !x;
};