From 0b56aa9b27741b75bce4d5358160bb5af32e4508 Mon Sep 17 00:00:00 2001 From: Max Wash Date: Sun, 10 Nov 2024 12:21:12 +0000 Subject: [PATCH] doc: add -put:at: package syntax example --- doc/sample/Person.im | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/sample/Person.im b/doc/sample/Person.im index c2d28b9..60c7124 100755 --- a/doc/sample/Person.im +++ b/doc/sample/Person.im @@ -228,9 +228,11 @@ pkg[0] = 16. /* All of these accesses are equivalent */ pkg['x'] = 32. pkg->x = 32. +pkg put:32 at:'x'. index = 'x'. pkg[index] = 32. +pkg put:32 at:index. /** this syntax, and the pkg.* instructions that it translates to, is