GetRequestedSingleValueError

<< Click to Display Table of Contents >>

Navigation:  Flexcom > Theory > Postprocessing > Custom Postprocessing > Database Access Routines > Database Access Routines >

GetRequestedSingleValueError

Previous pageNext page

Returns the type of error/errors that occured during the last call to GetRequestedSingleValue Function.

Syntax

Value = GetRequestedSingleValueError( 

  ierror, 

  maxerrors, 

  errors)

 

Description of arguments

Argument

Description

ierror

Return value of GetRequestedSingleValue Function. Integer scalar (input)

maxerrors

Dimension of array errors. Integer scalar (input)

errors

Array holding flags to indicate if a particular error occured or not. Integer array of dimensions (maxerrors) (output).

0 – error did not occur

1 – error occured.

The items in the array are listed in the following order:


Index

Description


1

1st argument of GetRequestedSingleValue is not a number.


2

2nd argument of GetRequestedSingleValue is not a number.


3

3rd argument of GetRequestedSingleValue is not a number or is out of range.


4

4th argument of GetRequestedSingleValue is not a number or is out of range.


5

5th argument of GetRequestedSingleValue is not a number or is out of range.


6

6th argument of GetRequestedSingleValue is not a number or is out of range.


7

7th argument of GetRequestedSingleValue is not a number or is out of range.


8

8th argument of GetRequestedSingleValue is not a number or is out of range.


9

9th argument of GetRequestedSingleValue is not a number or is out of range.


10

Reserved.


11

11th argument of GetRequestedSingleValue: unknown label or unspecified label when both the node number is zero or not a number.


12

Requested output parameter is not in the database.


13

Requested node is not in the database.


14

Requested element is not in the database.


15

Could not read from database.

 

Return Value

Value

Description

-1

Failed. Return value of GetRequestedSingleValue (ierror) is negative

0

Successful.

A positive value

Failed – maxerrors is to small. Call the function again substituting the returned value of the function in variable maxerrors.