Obtains the next subscripted variable name in the referenced global.
Arguments
Argument | Data Type | Required | Description |
---|---|---|---|
globalName | string | Yes | The global reference to examine |
Return Value
mumps.query() returns a string containing the next subscripted variable name.
Example
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
var mumps = new lib.cfmumps.Mumps(); mumps.open(); mumps.set("testGlobal", ["x"], "testValue"); var result = mumps.query("^testGlobal"); // result will be '^testGlobal("x")' mumps.close(); |
...