This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
codex [2025/03/11 15:19] – justin | codex [2025/03/11 17:18] (current) – justin | ||
---|---|---|---|
Line 31: | Line 31: | ||
The script above creates an empty codex variable, then inserts a new key/value pair with a key of " | The script above creates an empty codex variable, then inserts a new key/value pair with a key of " | ||
- | ===Iterating All Keys=== | + | ====Iterating All Keys:==== |
<code bauxite> | <code bauxite> | ||
- | $my_codex = codex[" | + | $my_codex = codex[" |
for $key in $my_codex do | for $key in $my_codex do | ||
- | log_message("Key: " + $key + ", Value: " + str($my_codex[$key])); | + | display_message("Key: " + $key + ", Value: " + str($my_codex[$key])); |
end; | end; | ||
</ | </ |