Navigation
Synopsis Assign to multiple assignables.
Syntax < Assignable1, Assignable2, ..., Assignablen > = Exp
Description First the value Exp is determined and should be a tuple of the form <V1, V2, ..., Vn>. Next the assignments Assignablei = Vi are performed for 1 <= i <= n.
Examples
rascal><A, B, C> = <"abc", 2.5, [1,2,3]>;
tuple[str,real,list[int]]: <"abc",2.5,[1,2,3]>
rascal>A;
str: "abc"
rascal>B;
real: 2.5
rascal>C;
list[int]: [1,2,3]
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.