Actually, in some instances that block of code might generate a runtime error, in which case, to prevent Flash from outputting the runtime error, there is a try catch block.
On Tue, Mar 3, 2009 at 7:02 PM, SJF <sjf...@gmail.com> wrote: > I have a head-cold (hence the possibly obvious answer to this question) and > a block of code as such: > > function checkResponder(e:Event = null):void > { > try > { > bPollingDatabase = true; > updateListArray(); > } > catch (err:Error) > { > // > } > } > > Now considering there is no code in the 'catch' block, there can be > absolutely no benefit whatsoever to using try-catch-finally in the above > instance. > > Is this correct? > _______________________________________________ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders