gettingstarted
[Top] [All Lists]

Exit For-Next using Return ?

To: Getting Started <gettingstarted at lists dot realsoftware dot com>
Subject: Exit For-Next using Return ?
From: Eirik Karlsen <eikarlse at online dot no>
Date: Sun, 24 Apr 2005 13:11:24 +0200
Delivered-to: gettingstarted at lists dot realsoftware dot com
References: <001a01c5484d$5dc2b410$1a974154 at newa8bavxwdlz0>
I know one should Exit for early termination of a For-Next loop..but it won't 
quite fit into my code.

Is it safe to use Return instead to get out of the loop and out of the sub...or 
could that cause
nasty things like stack overflow, memory leak, or instability of any sort?



--
*******************************************
VISIT MY HOME PAGE:
<http://home.online.no/~eikarlse/index.htm>
LAST UPDATED: 23/08/2003
*******************************************
Regards
Eirik Karlsen


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