[Next] [Prev] [_____] [Left] [Up] [Index] [Root]
Statements

Statements

A statement is a complete command to Magma. Every statement must end with a semicolon ( ; ).

If you press the <return> key before typing ; then Magma may give you a special prompt symbol such as

print>

or

if>

to remind you that the statement is not yet finished.

Example

> print 5+8;

> DivBy3 := func< n | IsZero(n mod 3) >;

Subscreens
[Next] [Prev] [_____] [Left] [Up] [Index] [Root]