doc: add -put:at: package syntax example

This commit is contained in:
2024-11-10 12:21:12 +00:00
parent acfc811a38
commit 0b56aa9b27

View File

@@ -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