I think I would do it like this: len:int = arr.length; for (var i:int = 0; i < len; i++) {
On Mon, Apr 25, 2016 at 5:27 AM, lizhi <s...@qq.com> wrote: > code like this? > > Error: Syntax error: expecting rightparen before semicolon. > for (var i:int = 0; len:int = arr.length; i < len; > i++){ > > > > -- > View this message in context: > http://apache-flex-development.2333347.n4.nabble.com/flexjs-for-bug-tp52573p52577.html > Sent from the Apache Flex Development mailing list archive at Nabble.com. > -- Andrew Wetmore http://cottage14.blogspot.com/