Joshua Root wrote: > On 2012-6-1 12:20 , Bjarne D Mathiesen wrote: >> Joshua Root wrote: >>> On 2012-6-1 10:21 , Bjarne D Mathiesen wrote: >>>> What's bugging me is why the /try/ doesn't catch the error and ignores >>>> it. >>> >>> You don't specify a catch block, so I guess it's probably assuming you >>> want the equivalent of a blank one? >> >> yes ... I wanted it to just continue when no files were present in a dir > > I guess I don't understand "doesn't catch the error and ignores it." > Surely it either does catch the error and ignores it, or doesn't catch > the error which then continues to propagate upwards?
It's just me who as usual is messing around in the whole /try/ /catch/ /finally/ structure with a really bad understanding of the terms and using /finally/ in the wrong way :-( But I've got it working now ... :-) -- Bjarne D Mathiesen København N ; Danmark ; Europa ---------------------------------------------------------------------- denne besked er skrevet i et totalt M$-frit miljø MacOS X 10.7.3 Lion ; 2.8GHz Intel Core i7 ; 16GB 1067MHz DDR3 _______________________________________________ macports-dev mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev
