Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
titleExample
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
titleExample
aa = {
bright : "Sign",
tmol : 42,
pie : 3.14
}