Quantcast
Channel: SCN: Message List - SAP Manufacturing Integration and Intelligence (SAP MII)
Viewing all articles
Browse latest Browse all 4841

Re: Lines of code are not executed in the order they are written... Why?

$
0
0

I supposed it so... but I'm receiving the same order of messages for this case too:

 

 

<script>

  someGrid = new dhtmlXGridObject('someGridContainer');
  // additional someGrid settings...

  someGrid.loadXML("url", function () {
    console.log('inside loadXML');
  });
  for ( var i = 0 ; i < 1000000 ; i++) { i += 1; i -= 1;}
  for ( var i = 0 ; i < 1000000 ; i++) { i += 1; i -= 1;}
  for ( var i = 0 ; i < 1000000 ; i++) { i += 1; i -= 1;}
  for ( var i = 0 ; i < 1000000 ; i++) { i += 1; i -= 1;}
  for ( var i = 0 ; i < 1000000 ; i++) { i += 1; i -= 1;}
  console.log('after loadXML');

</script>


Viewing all articles
Browse latest Browse all 4841

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>