Article View: borland.public.jbuilder.java.language
Article #14768Your Openion needed.
From: Dillan Fernando
Date: Sun, 08 Aug 1999 00:00
Date: Sun, 08 Aug 1999 00:00
20 lines
825 bytes
825 bytes
Hi,
I usually use the following method to exit for loops
public boolean dummy()
{ for(a=0;a<x;a++)
{ if (a==b) return true
}
return false;
}
I just want to know whether this a good practice. I have never run into any
problems, Will there be a mem de-allocation problem or anythink like that ?.
Thanks in Advance
Kind Regards
Dillan
Technical Details
Message-ID:
<7oksdc$5pa2@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,ead9ef4a7993b06e,start X-Google-Attributes: gidf74b3,public From: "Dillan Fernando" <dillan@geocities.com> Subject: Your Openion needed. Date: 1999/08/08 Message-ID: <7oksdc$5pa2@forums.borland.com> X-Deja-AN: 510367295 Organization: Another Netscape Collabra Server User X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3155.0 Newsgroups: borland.public.jbuilder.java.language