Skip to end of metadata
Go to start of metadata

Note that the syntax and style are now a little more free-form. The opening '' (curly-braces) do not have to be on the same line as the keyword that precedes them. Statements can be split across lines, as long as tokens are not broken by doing so. More than one statement can be included on a single line. Whatever you think is best!

You can just as easily say,

if(${x}=1) { NoOp(hello!); goto s,3; } else { NoOp(Goodbye!); goto s,12; }

as you can say:

if(${x}=1) {
	NoOp(hello!);
	goto s,3;
} else {
	NoOp(Goodbye!);
	goto s,12;
}

or:

if(${x}=1)
{
	NoOp(hello!);
	goto s,3;
}
else
{
	NoOp(Goodbye!);
	goto s,12;
}

or:

if (${x}=1) {
	NoOp(hello!); goto s,3;
} else {
	NoOp(Goodbye!); goto s,12;
}
  • No labels

3 Comments

  1. Reformatting destroyed the line breaks. Can somebody restore this?

      1. Yep, now it does. Thanks for fixing. (I'd have done it myself, but without edit rights …)