_INIVALUERC
— Returns an
exit code for the last call to @INIVALUE
.
Syntax:
%_INIVALUERC
This variable returns a code indicating the success or failure of the last
call to the @INIVALUE
function, and the
nature of the error if it failed. Possible return values include:
an empty string if @INIVALUE has not been called | |
Syntax error | any error in arguments |
File error n | any error opening the file; n is a Windows error number |
File empty | the file contains no data |
Found n | a matching entry was found at line n |
Count n | successfully counted matching entries |
No section | no matching section header was found |
No entry n | no matching entry, or fewer than n entries found |
If the correct entry was found, the return value is
Found
n. The n
is the line number, starting from zero and not counting any blank lines.
See also: the @INIVALUE
function.