June 2018 Update
This commit is contained in:
parent
ba8067c3b7
commit
22f33d4004
5278 changed files with 84726 additions and 14379 deletions
|
|
@ -7,12 +7,12 @@ class HistoryVar {
|
|||
}
|
||||
}
|
||||
|
||||
my $foo := HistoryVar.new;
|
||||
my \foo = HistoryVar.new;
|
||||
|
||||
$foo = 1;
|
||||
$foo = 2;
|
||||
$foo += 3;
|
||||
$foo = 42;
|
||||
foo = 1;
|
||||
foo = 2;
|
||||
foo += 3;
|
||||
foo = 42;
|
||||
|
||||
.say for $foo.history;
|
||||
say "Current value: $foo";
|
||||
.say for foo.history;
|
||||
say "Current value: {foo}";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue