Browse Source

Merge pull request #8469 from JamesDeFabia/15302ClarifyFileExists

HPCC-15302 Edit STD.FIle.FileExists topic

Reviewed-By: Jake Smith <jake.smith@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman 9 years ago
parent
commit
8d60ba3c5f

+ 7 - 4
docs/ECLStandardLibraryReference/SLR-Mods/FileExists.xml

@@ -47,12 +47,15 @@
 
   <para>The <emphasis role="bold">FileExists </emphasis>function returns TRUE
   if the specified <emphasis>filename</emphasis> is present in the Distributed
-  File Utility (DFU) and is not a SuperFile (use the STD.File.SuperFileExists
-  function to detect their presence or absence). If
-  <emphasis>physicalcheck</emphasis> is set to TRUE, then the file’s physical
-  presence on disk is also checked.</para>
+  File Utility (DFU). If <emphasis>physicalcheck</emphasis> is set to TRUE,
+  then the file’s physical presence on disk is also checked.</para>
 
   <para>Example:</para>
 
   <programlisting format="linespecific">A := STD.File.FileExists('~CLASS::RT::IN::People');</programlisting>
+
+  <para></para>
+
+  <para>See Also: <link
+  linkend="SuperFileExists">SuperFileExists</link></para>
 </sect1>

+ 5 - 3
docs/ECLStandardLibraryReference/SLR-Mods/SuperFileExists.xml

@@ -39,13 +39,15 @@
   <para>The <emphasis role="bold">SuperFileExists </emphasis>function returns
   TRUE if the specified <emphasis>filename</emphasis> is present in the
   Distributed File Utility (DFU) and is a SuperFile. It returns FALSE if the
-  <emphasis>filename</emphasis> does exist in the DFU but is not a SuperFile
-  (i.e. is a normal DATASET—use the STD.File.FileExists function to detect
-  their presence or absence).</para>
+  <emphasis>filename</emphasis> does exist but it is not a SuperFile (in other
+  words, it is a normal DATASET. Use the STD.File.FileExists function to
+  detect their presence or absence).</para>
 
   <para>This function is not included in a superfile transaction.</para>
 
   <para>Example:</para>
 
   <programlisting format="linespecific">A := STD.File.SuperFileExists('~CLASS::RT::IN::SF1');</programlisting>
+
+  <para>See Also: <link linkend="FileExists">FileExists</link></para>
 </sect1>