It shouldn't. This sounds really weird. Could you show the entire code?

btw, there is one possibility. if you do somtithing like this "if
file.exists and file<>NIL then". Now, it will first check if file exists,
but file is NIL so you cant check it. You can solve this by reversing the
order: "if file<>nil and file.exists then". If this is not what you're
doing, please show us the source.

Maarten

On 25/06/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

Hi there.

I'm trying to deal with an exception error, and, as per what I read, I
have the exception error at the end
of my sub routine. (I'm looking for a file with authorized users.)

When I run the program, I do a file<>nil check first, but it falls into
the if statement, and trys to read.
Should it not fail on the file<>nil then go to the exception?

Sincerely,

Michael

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to