Versions Compared

Key

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

Makes the current object reference a particular global.

Arguments

NameTypeRequiredDefaultDescription
globalNamestringYes-The name of the desired global.
subscriptsarrayYes-An array of subscripts. May be empty to address the root node of the global.
atomicbooleanNotrueIf true, any call to getObject() or setObject() will be guarded with MUMPS incremental locks.
lockTimeoutnumericNo5The number of seconds after which atomic operations will fail if a lock is not successfully acquired. Applies only if the atomic argument is true.

Return Value

Returns a component, which is an instance of lib.cfmumps.global. This facilitates method chaining.

Example

Code Block
languagecoldfusion
titleCFScript
linenumberstrue
glob = createObject("component", "lib.cfmumps.global");
glob.open("VA", [200]); 

...