<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Have you solved the general in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Am-stuck-Reading-Files/m-p/1001921#M30487</link>
    <description>&lt;P&gt;Have you solved the general problem that prompted your question?&lt;/P&gt;</description>
    <pubDate>Mon, 06 Apr 2015 11:23:29 GMT</pubDate>
    <dc:creator>Barry_Johnson</dc:creator>
    <dc:date>2015-04-06T11:23:29Z</dc:date>
    <item>
      <title>Am stuck : Reading Files</title>
      <link>https://community.intel.com/t5/Software-Archive/Am-stuck-Reading-Files/m-p/1001920#M30486</link>
      <description>&lt;P&gt;Hi guys, I want to make this code behave quasi-sync ie by the time it reaches the 2nd comment line below, it has finished reading the file. Please help...&lt;/P&gt;

&lt;P&gt;var content ;&lt;/P&gt;

&lt;P&gt;var oFile //this is got from a loop. No problem here&lt;/P&gt;

&lt;P&gt;var reader = new FileReader();&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; reader .onload =function(e){&amp;nbsp;&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; content = e.target.result ;}&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; reader .readAsBinaryString(oFile);&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; //make sure u have contents here&lt;/P&gt;</description>
      <pubDate>Tue, 31 Mar 2015 11:12:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Am-stuck-Reading-Files/m-p/1001920#M30486</guid>
      <dc:creator>John_N_1</dc:creator>
      <dc:date>2015-03-31T11:12:51Z</dc:date>
    </item>
    <item>
      <title>Have you solved the general</title>
      <link>https://community.intel.com/t5/Software-Archive/Am-stuck-Reading-Files/m-p/1001921#M30487</link>
      <description>&lt;P&gt;Have you solved the general problem that prompted your question?&lt;/P&gt;</description>
      <pubDate>Mon, 06 Apr 2015 11:23:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Am-stuck-Reading-Files/m-p/1001921#M30487</guid>
      <dc:creator>Barry_Johnson</dc:creator>
      <dc:date>2015-04-06T11:23:29Z</dc:date>
    </item>
    <item>
      <title>You'll probably want to use a</title>
      <link>https://community.intel.com/t5/Software-Archive/Am-stuck-Reading-Files/m-p/1001922#M30488</link>
      <description>&lt;P&gt;You'll probably want to use a promise. Makes all things asynchronous much easier.&lt;/P&gt;

&lt;P&gt;See this:&lt;/P&gt;

&lt;P&gt;&lt;A href="https://gist.github.com/jollytoad/4201905" target="_blank"&gt;https://gist.github.com/jollytoad/4201905&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Apr 2015 21:09:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Am-stuck-Reading-Files/m-p/1001922#M30488</guid>
      <dc:creator>Chris_P_Intel</dc:creator>
      <dc:date>2015-04-09T21:09:59Z</dc:date>
    </item>
  </channel>
</rss>

