doc: add -put:at: package syntax example
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user