Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- RaSQL/B 6.1a for Clipper - <b>n_xerrmsg()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
N_XERRMSG()
Get text error message by passing error number

Syntax
N_XERRMSG([<nError>])

Argument
<nError> is an error number.

Returns
N_XERRMSG() with no arguments returns the error message associated with the 
most recent RaSQL/B operation. If the last operation generated no error, 
this function returns the message Successful operation.

N_XERRMSG(<nError>) returns the message text associated with the specified 
number.

The file RASQL.ERR must be present in the current directory, or in the 
directory specified by N_XPATH(). Otherwise, the function returns the 
message Cannot find RASQL.ERR.

If there is no message for a specific error code, then the function returns 
the message No text for error code.

Remarks
RASQL.ERR is an ASCII file that you can display or print. It should almost 
never be necessary to modify the file; however, do not attempt to modify it 
without carefully reading the header information.

Examples
* Notice misspelled filename
N_XERRLVL(0)
N_XUSE('patienz.dta', ...)
? N_XERRMSG()
File not found
* Determine meaning of error code 9
? N_XERRMSG(9)
No more records


See Also: N_XERROR() N_XERRLVL()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson