<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="fr">
	<id>http://wiki.sage.fr/index.php?action=history&amp;feed=atom&amp;title=FileSize_%28rtl%29</id>
	<title>FileSize (rtl) - Historique des versions</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.sage.fr/index.php?action=history&amp;feed=atom&amp;title=FileSize_%28rtl%29"/>
	<link rel="alternate" type="text/html" href="http://wiki.sage.fr/index.php?title=FileSize_(rtl)&amp;action=history"/>
	<updated>2026-05-24T23:23:53Z</updated>
	<subtitle>Historique des versions pour cette page sur le wiki</subtitle>
	<generator>MediaWiki 1.41.1</generator>
	<entry>
		<id>http://wiki.sage.fr/index.php?title=FileSize_(rtl)&amp;diff=11974&amp;oldid=prev</id>
		<title>Syfre : Page créée avec « &lt;source lang=&#039;delphi&#039;&gt;Function FileSize(const s:String):LongInt;&lt;/source&gt;  Cette fonction retourne la taille d&#039;un fichier.  {|class=&quot;wikitable&quot; |- |Result |La date de modi... »</title>
		<link rel="alternate" type="text/html" href="http://wiki.sage.fr/index.php?title=FileSize_(rtl)&amp;diff=11974&amp;oldid=prev"/>
		<updated>2017-12-06T07:50:06Z</updated>

		<summary type="html">&lt;p&gt;Page créée avec « &amp;lt;source lang=&amp;#039;delphi&amp;#039;&amp;gt;Function FileSize(const s:String):LongInt;&amp;lt;/source&amp;gt;  Cette fonction retourne la taille d&amp;#039;un fichier.  {|class=&amp;quot;wikitable&amp;quot; |- |Result |La date de modi... »&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Nouvelle page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;source lang=&amp;#039;delphi&amp;#039;&amp;gt;Function FileSize(const s:String):LongInt;&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Cette fonction retourne la taille d&amp;#039;un fichier.&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|Result&lt;br /&gt;
|La date de modification du fichier. La fonction retourne zéro si le fichier n&amp;#039;existe pas.&lt;br /&gt;
|-&lt;br /&gt;
|s&lt;br /&gt;
|Chemin du fichier.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Exemple&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;#039;delphi&amp;#039;&amp;gt;&lt;br /&gt;
functio foo();&lt;br /&gt;
var vTempFile:string;&lt;br /&gt;
begin&lt;br /&gt;
  vTempFile := GetTempFileName;&lt;br /&gt;
  doCreateSomeData(vTempFile);&lt;br /&gt;
  //&lt;br /&gt;
  if FileSize(vTempFile)&amp;lt;&amp;gt;0 then&lt;br /&gt;
   begin&lt;br /&gt;
     doProcessSomeData(vTempFile);&lt;br /&gt;
   end;&lt;br /&gt;
end;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Voir aussi:&lt;br /&gt;
&lt;br /&gt;
{{Footer|Développement DSM}}&lt;br /&gt;
[[category:RTL Fichiers]]&lt;/div&gt;</summary>
		<author><name>Syfre</name></author>
	</entry>
</feed>