Comments and Continuation

//
One-line comment: any text following the double slash on the same line will be ignored by Magma.
/* */
Multi-line comment: any text between /* and */ is ignored by Magma.
\
Line continuation character: this symbol and the <return> immediately following is ignored by Magma. Evaluation will continue on the next line without interruption. This is useful for long input lines.

Example State_Various (H1E19)

> // The following produces an error:
> x := 12
> 34;
User error: bad syntax
> /* but this is correct
>       and reads two lines: */
> x := 12\
> 34;
> x;
1234
V2.28, 13 July 2023