_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 errorany error in arguments
File error nany error opening the file; n is a Windows error number
File emptythe file contains no data
Found na matching entry was found at line n
Count nsuccessfully counted matching entries
No sectionno matching section header was found
No entry nno 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.