General question about using "return".

"chris.kevany" <[email protected]>
Newsgroups gmane.comp.windows.gui4cli
Message-ID <[email protected]>
Hi Dimitris,

This is just out of curiousity about how you handle the use of
the return command in e.g. xOnRMB and xOnDoubleClick.

I have a lot of conditions in these events and wanted to skip
the rest of it when a condition was met.
I first tried "stop" but that had undesirable side effects when
the event was triggered while Gui4Cli was processing something.
Then I used "return" and I saw that this worked.

Now the question is; Is it valid to use "return" for that purpose?
I have the impression you intentionally handle this as a local stop
for the event it's used in.

Chris 



------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/gui4cli/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/gui4cli/join
    (Yahoo! ID required)

<*> To change settings via email:
    [email protected] 
    [email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.