Nematrian Web Service Function Answer
Structures
[this page | pdf | references | back links]
More advanced programmers may wish to note the format of
results returned by Nematrian web service functions.
Nearly all Nematrian web service functions require a live Session Id to run.
These return their answers to the user in a variety of bespoke formats which
have names such as MnDouble, MnDoubleArray etc.
Each of these bespoke formats consists of three parts:
(a) ErrFlag (a String
variable): indicates any errors that may have occurred
(b) Debit (a Double
variable): indicates amount of credit deducted from your SessionId when the web
function is run
(c) Answer: provides
the answer
The structure taken by the “Answer” element varies according
to the purpose of the function and explains the range of formats actually used.
It is shown on the relevant function page. For
example, if “Answer” is a Double variable, then the name of the overall
structure is MnDouble. If “Answer” is a Double array (“Double()”) then
the name of the overall structure is MnDoubleArray.
Some of the more complicated web functions also include a
“Sizes” array to allow them to return multi-dimensional answers.
NAVIGATION LINKS
Contents | Prev | Next