gettingstarted
[Top] [All Lists]

Re: Stop Executing Code

To: "Getting Started" <gettingstarted at lists dot realsoftware dot com>
Subject: Re: Stop Executing Code
From: "Aaron Ballman" <aaron at realsoftware dot com>
Date: Sat, 29 May 2004 15:06:36 -0500
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> <8745CB13-B1A8-11D8-87F6-000A95A5E76E at freaksw dot com>
> > 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.

Whenever a function or event specifies a return type (in the case of a
MenuHandler, it'll be a Boolean), you must return with a type specifier.  If
it returns a integer, you have to return an integer, and so forth.

HTH!

~Aaron

_______________________________________________
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>