Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Current »

Creates a new instance of theĀ lib.cfmumps.GlobalĀ component, associating it with a MUMPS global or global sub-tree.

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

CFScript
glob = new lib.cfmumps.Global("VA", [200]);
CFML
<cfset glob = new lib.cfmumps.Global("VA", [200])>
  • No labels

0 Comments

You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.