[thelist] exiting out of a function using a nested function
Michael Mell
mike at nthwave.net
Tue Jul 2 16:52:01 CDT 2002
return false from checkData(), check the return value in init().
Tom Dell'Aringa wrote:
>
> function init()
> {
> if (not checkData()) { // <-- checking to see if the data is
> present
return false; // or do whatever to bail out
}
>
> statements
> statements
> statements
> }
--
mike[at]nthwave.net
llemekim YahooIM
415.455.8812 voice
419.735.1167 fax
More information about the thelist
mailing list