Re: flexjs for bug

2016-04-25 Thread Harbs
Log a bug: https://issues.apache.org/jira/browse/FLEX/ On Apr 25, 2016, at 12:38 PM, lizhi wrote: > yes,you code it is very good. > but it is just the as3,js,c++,base code,the flexjs it is a build tool,why > not get the func? >

Re: flexjs for bug

2016-04-25 Thread lizhi
yes,you code it is very good. but it is just the as3,js,c++,base code,the flexjs it is a build tool,why not get the func? -- View this message in context: http://apache-flex-development.247.n4.nabble.com/flexjs-for-b

Re: flexjs for bug

2016-04-25 Thread Andrew Wetmore
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 wrote: > code like this? > > Error: Syntax error: expecting rightparen before semicolon. > for (var i:int = 0; len:int = arr.length; i < len

Re: flexjs for bug

2016-04-25 Thread Tom Chiverton
It's probably because in for(var i:int=0,len:int =arr.length;i ?are you test as code in flash ide?why ;? for(;;;)?! -- View this message in context: http://apache-flex-development.247.n4.nabble.com/flexjs-for-bug-tp52573p52576.html Sent from the Apache Flex Development mailing list archiv

Re: flexjs for bug

2016-04-25 Thread lizhi
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.247.n4.nabble.com/flexjs-for-bug-tp52573p52577.html Sent from the Apa

Re: flexjs for bug

2016-04-25 Thread lizhi
?are you test as code in flash ide?why ;? for(;;;)?! -- View this message in context: http://apache-flex-development.247.n4.nabble.com/flexjs-for-bug-tp52573p52576.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: flexjs for bug

2016-04-25 Thread Andrew Wetmore
I think you need ";" instead of "," after "i:int=0" On Mon, Apr 25, 2016 at 4:13 AM, lizhi wrote: > for(var i:int=0,len:int =arr.length;i > } > > gen error > > > > -- > View this message in context: > http://apache-flex-development.247.n4.nabble.com/flexjs-for-bug-tp52573.html > Sent from th