I've found an odd behavior with the extended error info, which, BTW, I do like.
I had a couple of UDfs in a separate UDF file which was loaded into the main script via CALL UDFFILE.UDF
One of the UDFs contained a variable declaration error. The script errored out when that particular UDF was called and the extended error info displayed the scriptname and line number of the error. However, though the line number was correct, the scriptname was the one of the main script, not the name of the file that contained the UDFs.
This will cause confusion as people will start checking their main script at the indicated line number and not find any errors.
I think it's a genuine bug as the error handling routine definitely knows about the external file as it displayed the correct line number of the error, it just didn't display the name of the external file.
[ 03. January 2003, 15:25: Message edited by: sealeopard ]
_________________________
There are two types of vessels, submarines and targets.