<box> <vbox>
<hbox>
Press Cmd+R to run your Move code.
</hbox> </box> hello_to = ^(name){ "Hello "+name } repeat {times: 3} ^{ print hello_to {name: "John"} } # Same thing as the above, but in shorthand form: repeat 3, ^{ print hello_to "Julia" } numbers = [1,2,2,3,1].unique() print numbers numbers.sort().forEach ^(number){ print "Number: "+number } Cat = {age: 5, name: "Zelda"} Dog = create Cat, {name: "Lassie"} print Cat.name, 'is', Cat.age, 'years old' print Dog.name, 'is', Dog.age, 'years old' Cat.age = 9 print Cat.name, 'is', Cat.age, 'years old' print Dog.name, 'is', Dog.age, 'years old'