Navigation
Name
Rascal
/
Statements
/
Assignment
/
Variable
Synopsis
Assign to a variable.
Syntax
Var
=
Exp
Description
The expression
Exp
is evaluated and its value is assigned to the variable
Var
.
Examples
rascal>
N = 3; int: 3
rascal>
N; int: 3
[
Edit
] | [
New Subconcept
] | [
Recompile Course
] | [
Warnings
]
Is this page unclear, or have you spotted an error? Please add a comment below and help us to improve it. For all other questions and remarks, visit
ask.rascal-mpl.org
.