Really B : undefined Hiedra
De: hiedra [via Apache Royale Users] <[email protected]> Enviado el: viernes, 04 de octubre de 2019 0:18 Para: Maria Jose Esteve <[email protected]> Asunto: RE: Migrate from Flex - Array - SortOn I have expressed myself wrong, I am sorry. It's not that I don't recognize it but it doesn't give me anything back. var A:Array = Glb.AVecIni.DTPersonal; Glb.AVecIniPer.DTPersonal = new ArrayCollection(A); var B:Array = A.slice().sortOn("NOMBRECOMPLETO"); Glb.ANombre = new ArrayCollection(B); Glb.AvecIni.DTPersonal : has 112 records A : has 112 records Glb.AvecIniPer.DTPersonal : has 112 records A.slice() : has 112 records B : 0 records I have debugged and see no errors. Thanks, Hiedra De: Alex Harui <[hidden email]</user/SendEmail.jtp?type=node&node=2757&i=0>> Enviado el: jueves, 03 de octubre de 2019 23:07 Para: [hidden email]</user/SendEmail.jtp?type=node&node=2757&i=1> Asunto: Re: Migrate from Flex - Array - SortOn Please provide a few lines of the code that uses SortOn and what error you are getting. Royale should handle SortOn. The compiler should generate a call to Language.sortOn. Thanks, -Alex From: Maria Jose Esteve <[hidden email]</user/SendEmail.jtp?type=node&node=2757&i=2>> Reply-To: "[hidden email]</user/SendEmail.jtp?type=node&node=2757&i=3>" <[hidden email]</user/SendEmail.jtp?type=node&node=2757&i=4>> Date: Thursday, October 3, 2019 at 1:24 PM To: "[hidden email]</user/SendEmail.jtp?type=node&node=2757&i=5>" <[hidden email]</user/SendEmail.jtp?type=node&node=2757&i=6>> Subject: Migrate from Flex - Array - SortOn [http://apache-royale-users.20374.n8.nabble.com/attachment/2757/0/image001.gif] Hello, In my Flex code I use Array and SortOn but in royale SortOn does not recognize me, what alternative is there? Any help will be welcome, thanks. ________________________________ If you reply to this email, your message will be added to the discussion below: http://apache-royale-users.20374.n8.nabble.com/Migrate-from-Flex-Array-SortOn-tp2755p2757.html To start a new topic under Apache Royale Users, email [email protected]<mailto:[email protected]> To unsubscribe from Apache Royale Users, click here<http://apache-royale-users.20374.n8.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=1&code=bWplc3RldmVAaWVzdC5jb218MXwtMTMzODcyOQ==>. NAML<http://apache-royale-users.20374.n8.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
