...
Panel | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
ON THIS PAGE
|
Insert excerpt
...
Appends a second associative array to the first.
...
Code Block | ||
---|---|---|
| ||
aa = CreateObject("roAssociativeArray") aa.AddReplace("Bright", "Sign") aa.AddReplace("TMOL", 42) print aa.Lookup("tmol") print aa.Lookup("bright") |
The above script returns the following:
Code Block |
---|
42 Sign |
...
Alternatively, you can use the Dot Operator in place of the AddReplace()
and Lookup()
methods:
...