beautypg.com

BrightSign Object Reference Manual (FW 5.1) User Manual

Page 17

background image

9

SetModeCaseSensitive(): Makes all subsequent actions case sensitive. All roAssociativeArray lookups
are case insensitive by default.

LookupCi(a As String) As Dynamic: Looks for an object in the array associated with the specified string.
This method functions similarly to

Lookup(), with the exception that key comparisons are always case insensitive,

regardless of case mode.

Append(a As Object): Appends a second associative array to the first.

Example:
aa = CreateObject("roAssociativeArray")

aa.AddReplace("Bright", "Sign")
aa.AddReplace("TMOL", 42)

print aa.Lookup("TMOL")
print aa.Lookup("Bright")


The above script produces the following:

42
Sign