Created
February 1, 2019 19:55
-
-
Save AlexanderBaggett/04fb6fde4c1bbc4da9042ad28db99f63 to your computer and use it in GitHub Desktop.
Gregg Irwin explaining How set works in Red
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
o: object [a: 1 b: 2 c: 3] | |
== make object! [ | |
a: 1 | |
b: 2 | |
c: 3 | |
] | |
>> set o object [a: 11 b: 12] | |
== make object! [ | |
a: 11 | |
b: 12 | |
] | |
>> o | |
== make object! [ | |
a: 11 | |
b: 12 | |
c: 3 | |
] | |
>> set/only o object [a: 11 b: 12] | |
== make object! [ | |
a: 11 | |
b: 12 | |
] | |
>> o | |
== make object! [ | |
a: make object! [ | |
a: 11 | |
b: 12 | |
] | |
b: make object! [ | |
a: 11 | |
b: 1... | |
>> probe o | |
make object! [ | |
a: make object! [ | |
a: 11 | |
b: 12 | |
] | |
b: make object! [ | |
a: 11 | |
b: 12 | |
] | |
c: make object! [ | |
a: 11 | |
b: 12 | |
] | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment