Comments
Tusk offers both line comments and block comments.
Line comments begin with //,
and continue to the end of the line.
For example…
// A slightly more elaborate program...
Writeln('Hello, world!');
Writeln; // Note: no parentheses needed - yay!
Writeln('Goodbye');
Block comments begin with (* and end with the next *).
For example…
(* An even more elaborate program,
printing the first 100 squares *)
for var i := 1 to 100 do
Writeln(i, ': ', i*i);
Note that Tusk does not support block comments
using curly braces; instead,
curly braces define IPropBag literals.
⏱ Last Modified: 2/15 9:51:46 am