[Next] [Prev] [Right] [Left] [Up] [Index] [Root]
Various
Various
//
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 Lang_Various (H1E18)
> // The following produces an error:
> x := 12
> 34;
User error: bad syntax
> /* but this is correct
> and reads two lines: */
> x := 12\
> 34;
> print x;
1234
[Next] [Prev] [Right] [Left] [Up] [Index] [Root]