
13 Nov
2007
13 Nov
'07
11:18 p.m.
Jascha Narveson wrote:
Does anyone else get a parse error when running this simple simple thing in miniAudicle?
if (i > 3) {<<<"true">>>} else {<<<"false">>>};
The semi-colons are used incorrectly. Since each of the blocks inside of the braces is a statement, they must be followed by a semi-colon. There also should not be one after the end of the line. So: if (i > 3) {<<<"true">>>;} else {<<<"false">>>;} -Scott