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.
> // 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
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.Run in calculator