[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[sc-users] If statement question
I've noticed that this seems to be valid if statement syntax:
if (6==9) {
"true".postln;
} {
"false"postln;
};
Which is slightly different than the syntax in the helpfile:
if (6==9, {
"true".postln;
},{
"false".postln;
});
My question is, can I do combined statements like:
if (6==9 || 9==9) {
"true".postln;
} {
"false".postln;
};
It seems not to be working for me... is their an obvious mistake in
my syntax?
David