Wilson WindowWare Tech Support

WinBatch WinBatch+Compiler WebBatch
Home | Tech Database | Tech BBS | White Papers | Purchase


wxGetErrDesc - How to Use

Keywords:   wxGetErrDesc  wxGetLastErr()

Question:

I'm using a script that connects me to various remote sites and when there's an error, it displays a message, but in code 13, which means busy. I'm told that wxGetErrDesc can convert these. Could you explain how I can use to in my script.

Answer:

Here's how:
nErr = wxGetLastErr()
desc=sxGetErrDesc(nErr)
Message(nErr,desc)

Article ID:   W12688
Filename:   wxGetErrDesc How to Use.txt