...
Code Block | ||
---|---|---|
| ||
aa = {} aa.bright = "Sign" aa.tmol = 42 print aa.tmol print aa.bright |
You can also specify an associative array as a multiline object literal:
Code Block | ||
---|---|---|
| ||
aa = {
bright : "Sign",
tmol : 42,
pie : 3.14
}
|
...
Code Block | ||
---|---|---|
| ||
aa = {} aa.bright = "Sign" aa.tmol = 42 print aa.tmol print aa.bright |
You can also specify an associative array as a multiline object literal:
Code Block | ||
---|---|---|
| ||
aa = {
bright : "Sign",
tmol : 42,
pie : 3.14
}
|