[Next][Prev] [Right] [Left] [Up] [Index] [Root]
read identifier, prompt;
This statement will cause Magma to assign to the given identifier the
string of characters appearing (at run-time) on the following line.
This allows the user to provide an input string at run-time. If
the optional prompt is given (a string), that is printed first.
readi identifier, prompt;
This statement will cause Magma to assign to the given identifier the
literal integer appearing (at run-time) on the following line.
This allows the user to specify integer input at run-time. If
the optional prompt is given (a string), that is printed first.
[Next][Prev] [Right] [Left] [Up] [Index] [Root]
Version: V2.19 of
Wed Apr 24 15:09:57 EST 2013