gettingstarted
[Top] [All Lists]

Re: Exit For-Next using Return ?

To: Getting Started <gettingstarted at lists dot realsoftware dot com>
Subject: Re: Exit For-Next using Return ?
From: Mars Saxman <mars at realsoftware dot com>
Date: Mon, 25 Apr 2005 08:47:41 -0700
Delivered-to: gettingstarted at lists dot realsoftware dot com
eikarlse at online dot no wrote:

> Is it safe to use Return instead to get out of the loop and out of the
> sub...

Sure.

> or could that cause
> nasty things like stack overflow, memory leak, or instability of any sort?

Nope, it's the compiler's job to worry about all that.

Mars Saxman
REAL Software

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

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