RosettaCodeData/Task/Comments/Fermat/comments.fermat

13 lines
330 B
Plaintext

Function Foo(n) =
{Comments within a function are enclosed within curly brackets.}
{You can make multi-line comments
such as this one.}
n:=n^2 + 3n - 222; {Comments can go after a semicolon.}
n:=n+1;
n.
; comments between functions are preceded by semicolons, like this
Function Bar(n) =
2n-1.