gettingstarted
[Top] [All Lists]

Re: Stop Executing Code

To: Getting Started <gettingstarted at lists dot realsoftware dot com>
Subject: Re: Stop Executing Code
From: Seth Willits <seth at freaksw dot com>
Date: Sat, 29 May 2004 12:43:58 -0700
Delivered-to: gettingstarted at lists dot realsoftware dot com
List-help: <mailto:gettingstarted-request@lists.realsoftware.com?subject=help>
List-id: Getting Started <gettingstarted.lists.realsoftware.com>
List-post: <mailto:gettingstarted@lists.realsoftware.com>
References: <D0F726D0-B1A7-11D8-B825-0003933D673A at kellerfarm dot com>
On May 29, 2004, at 12:38 PM, Andrew Keller wrote:

Is there a function for simply exiting an event or method? I've tried using "Return", but in a MenuHandler, RB complains that I am trying to return a value without specifying a return value type.

That's because with any method that has a return value, you need to specify one! You need to return true or false in the case of a MenuHandler.


Seth Willits
------------------------------------------------------------------------ ---
President and Lead Developer of Freak Software - http://www.freaksw.com
REALbasic Guru at ResExcellence - http://www.resexcellence.com/realbasic

"We call that person who has lost his father, an orphan; and a widower that
 man who has lost his wife. But that man who has known the immense
 unhappiness of losing a friend, by what name do we call him? Here every
 language is silent and holds its peace in impotence."
        -- Joseph Roux
------------------------------------------------------------------------ ---

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

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

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