Jump to content

BSL:Manual: Difference between revisions

m
→‎Old vs. new syntax: we shouldn't say not to use a trailing comment in old-style syntax and then do it, but I guess at least let's put this disclaimer here
m (link fix)
m (→‎Old vs. new syntax: we shouldn't say not to use a trailing comment in old-style syntax and then do it, but I guess at least let's put this disclaimer here)
Line 77: Line 77:
...and the fact that semicolons are always needed at the end of variable declarations:
...and the fact that semicolons are always needed at the end of variable declarations:


  a = 3 # this line is valid old-style syntax...
  a = 3 # this line is valid old-style syntax (except for this comment)...
  var int a = 3 # ...this line is not (even without this comment!)
  var int a = 3 # ...this line is not (even without this comment!)