SourceTec Software

It is currently Thu Apr 24, 2014 7:17 pm

All times are UTC + 8 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Errors at decompiling
PostPosted: Mon May 13, 2002 9:43 am 
Decompiling ActionScript seems to give some simple errors:<br><br>----------------------<br>stop();<br>function doit1() {<br> i = 0;<br> if (i < 5) {<br> trace("doit1 : " + i );<br> i++;<br> }<br>}<br>function doit2() {<br> for (k=0; k < 5; k++) {<br> trace("doit2 : " + k);<br> }<br>}<br>doit1();<br>doit2();<br>--------------------------<br><br>yields<br><br>--------------------------<br>// Action script...<br><br>// [Action in Frame 1]<br>function doit1()<br>{<br> i = 0;<br> if (i < 5)<br> {<br> trace("doit1 : " + i);<br> i++;<br> } // End of the function<br>} // end if<br>function doit2()<br>{<br> k = 0;<br> if (k < 5)<br> {<br> trace("doit2 : " + k);<br> k++;<br> } // End of the function<br>} // end if<br>stop();<br>doit1();<br>doit2();<br>-----------------------------<br><br>have a look at doit2(). The for-loop is wrong decompiled to something that does not work (as you can test with doit1()).<br><br>The comments for end-function and end-if are mixed up.<br><br>Anyhow, very useful tool!<br>------------------------<br>Didi<br><br>


Top
  
 
 Post subject: Errors at decompiling
PostPosted: Mon May 13, 2002 5:51 pm 
Offline
Guru
User avatar

Joined: Thu Sep 27, 2001 11:40 pm
Posts: 906
Thanks for reporting this error.<br>This problem will be solved and corrected in next version.<br><br>Sincerely,<br>Webmaster<br><br>


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 8 hours


Who is online

Users browsing this forum: Google [Bot], PunchiPetha and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group