This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
codex [2022/11/29 17:32] – justin | codex [2022/12/22 18:17] (current) – justin | ||
---|---|---|---|
Line 15: | Line 15: | ||
$my_codex[" | $my_codex[" | ||
</ | </ | ||
- | The script above creates a codex variable containing lookups for an item ID and count, then modifies the count to 10. | + | The script above creates a codex variable containing lookups for an item ID and a numeric |
+ | |||
+ | ====Inserting a Value: | ||
+ | <code bauxite> | ||
+ | $my_codex = codex[]; | ||
+ | $my_codex[" | ||
+ | </ | ||
+ | The script above creates an empty codex variable, then inserts a new key/value pair with a key of " | ||
+ | |||
+ | ~~NOTOC~~ |