<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Working with files. Part IV</title>
	<atom:link href="http://mqlmagazine.com/mql-programming/working-with-files-part-iv/feed/" rel="self" type="application/rss+xml" />
	<link>http://mqlmagazine.com/mql-programming/working-with-files-part-iv/</link>
	<description>All things MetaTrader</description>
	<lastBuildDate>Fri, 27 Jan 2012 16:37:30 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Bogdan Caramalac, MQLmagazine sr.editor</title>
		<link>http://mqlmagazine.com/mql-programming/working-with-files-part-iv/comment-page-1/#comment-280</link>
		<dc:creator>Bogdan Caramalac, MQLmagazine sr.editor</dc:creator>
		<pubDate>Sun, 04 Apr 2010 09:05:18 +0000</pubDate>
		<guid isPermaLink="false">http://mqlmagazine.com/?p=1461#comment-280</guid>
		<description>As I see it, the help doesn&#039;t specifically say, at these functions, on which file types they work.
However, the FileWriteDouble has it specified

&lt;blockquote&gt;
If successful the function returns the number of bytes written (in this case sizeof(double)=8). The file pointer is shifted by the same number of bytes.
&lt;/blockquote&gt;

meaning that they work on binary files. For text files, easiest is to write them converted to strings, then read the strings and convert them to double.</description>
		<content:encoded><![CDATA[<p>As I see it, the help doesn&#8217;t specifically say, at these functions, on which file types they work.<br />
However, the FileWriteDouble has it specified</p>
<blockquote><p>
If successful the function returns the number of bytes written (in this case sizeof(double)=8). The file pointer is shifted by the same number of bytes.
</p></blockquote>
<p>meaning that they work on binary files. For text files, easiest is to write them converted to strings, then read the strings and convert them to double.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amir</title>
		<link>http://mqlmagazine.com/mql-programming/working-with-files-part-iv/comment-page-1/#comment-276</link>
		<dc:creator>Amir</dc:creator>
		<pubDate>Sun, 04 Apr 2010 00:29:31 +0000</pubDate>
		<guid isPermaLink="false">http://mqlmagazine.com/?p=1461#comment-276</guid>
		<description>Ok, got it. 
It is the way, just misplaced something.</description>
		<content:encoded><![CDATA[<p>Ok, got it.<br />
It is the way, just misplaced something.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amir</title>
		<link>http://mqlmagazine.com/mql-programming/working-with-files-part-iv/comment-page-1/#comment-273</link>
		<dc:creator>Amir</dc:creator>
		<pubDate>Sat, 03 Apr 2010 23:05:25 +0000</pubDate>
		<guid isPermaLink="false">http://mqlmagazine.com/?p=1461#comment-273</guid>
		<description>Thanks for the site and article.
When I write a txt file using FileWriteDouble, and trying to read 
it with FileReadDouble, should it be ok?
At present I open the file for FILE_READ&#124;FILE_TXT and get a good handle.
but the FileReadDouble does not return any value.

Is that the way to do it?</description>
		<content:encoded><![CDATA[<p>Thanks for the site and article.<br />
When I write a txt file using FileWriteDouble, and trying to read<br />
it with FileReadDouble, should it be ok?<br />
At present I open the file for FILE_READ|FILE_TXT and get a good handle.<br />
but the FileReadDouble does not return any value.</p>
<p>Is that the way to do it?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

