>> No, I think Dave has a valid point - if my ByteArray _bytes >> is null - because a socket read has thrown an exception, >> then the compiler might be able to recognize it (same is in Java). > > The compiler does not know that an exception has been thrown. That's runtime > events. Exceptions are not checked in actionscript, so the compiler MAY NOT > raise any errors.
In general, I think Henrik is more likely to be correct about Actionscript than I am. I've been doing a lot of Java programming lately, where you do have checked exceptions, but I'm off the mark here. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders