Re: "prototype" actionscript keyword
[email protected] (Wolfgang Hamann) Sat, 20 Sep 2003 10:44:07 +0200 (CEST)
| Newsgroups | gmane.comp.web.ming.general |
|---|---|
| Message-ID | <wolfgang-1030920104407.A0A6097@loopback> |
Hi, flash does not require that trailing semicolon at the end of any statement - on the other side it has the strange behaviour that it interprets if(something) // blah something blah do_something() as a comment that "happens" if something is true and calls the function every time. While this can be special-cased (and probably is fixed in the new version by a special case rule), I believe that ambiguities avoided by a more rigorous language specification pay off in the long run - tracing the above "feature" in a 1000-line body of code might take a few hours Wolfgang