gettingstarted
[Top] [All Lists]

Re: Handling OutOfBoundsException

To: Getting Started <gettingstarted at lists dot realsoftware dot com>
Subject: Re: Handling OutOfBoundsException
From: "Joseph J. Strout" <joe at realsoftware dot com>
Date: Fri, 25 Feb 2005 09:50:36 -0600
Delivered-to: gettingstarted at lists dot realsoftware dot com
References: <611bf761c0e33bb715850f15b1942ed8 at myactv dot net> <a0620070dbe44efe3e9cd at [10 dot 10 dot 13 dot 4]> <005ac999e34c43a35636bd5b6d935d90 at myactv dot net>
At 10:45 AM -0500 2/25/05, Paul Young wrote:

The debugger is showing the error in the line:
    s=Contacts(i).PhoneNumbers
because there is no data found.  I do not see the MsgBox message.

And what happens when you continue (i.e. Resume your app)?

  Is this because the code is in the button/action, not a method?

No, an event is just a special sort of method. It's all the same to the compiler.

Best,
- Joe

--
REAL World 2005 - The REALbasic User Conference
March 23-25, 2005, Austin, Texas
<http://www.realsoftware.com/realworld>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

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

<Prev in Thread] Current Thread [Next in Thread>