Bläddra i källkod

Merge pull request #15194 from JamesDeFabia/getExpiry

HPCC-26255 Fix Std.GetExpire and Std.SetExpire typos

Reviewed-By: Richard Taylor <richard.taylor@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman 3 år sedan
förälder
incheckning
8283dbd76e

+ 2 - 2
docs/EN_US/ECLStandardLibraryReference/SLR-Mods/GetExpireDays.xml

@@ -31,11 +31,11 @@
 
 
   <para>The <emphasis role="bold">GetExpireDays </emphasis>function retrieves
   <para>The <emphasis role="bold">GetExpireDays </emphasis>function retrieves
   a logical file's expiration criteria (the <emphasis>expireDays</emphasis>
   a logical file's expiration criteria (the <emphasis>expireDays</emphasis>
-  attribute). </para>
+  attribute). A return of -1 indicates that there is no expiration set.</para>
 
 
   <para>Example:</para>
   <para>Example:</para>
 
 
-  <programlisting format="linespecific">A := STD.File.SetExpireDays('~samples::myscope::myfile');
+  <programlisting format="linespecific">A := STD.File.GetExpireDays('~samples::myscope::myfile');
  //returns a file's expireDays 
  //returns a file's expireDays 
 </programlisting>
 </programlisting>
 
 

+ 5 - 5
docs/EN_US/ECLStandardLibraryReference/SLR-Mods/SetExpireDays.xml

@@ -32,21 +32,21 @@
 
 
           <entry>Number of days before the file expires. Setting to 0
           <entry>Number of days before the file expires. Setting to 0
           specifies to use the system's default expire value (specified in the
           specifies to use the system's default expire value (specified in the
-          Sasha server's <emphasis>ExpiryDefault</emphasis> attribute).
-          </entry>
+          Sasha server's <emphasis>ExpiryDefault</emphasis>
+          attribute).</entry>
         </row>
         </row>
       </tbody>
       </tbody>
     </tgroup>
     </tgroup>
   </informaltable>
   </informaltable>
 
 
-  <para>The <emphasis role="bold">SetExpireDays </emphasis>function sets a
+  <para>The <emphasis role="bold">SetExpireDays </emphasis>action sets a
   logical file's expiration criteria (the <emphasis>expireDays</emphasis>
   logical file's expiration criteria (the <emphasis>expireDays</emphasis>
   attribute). The file is deleted by the Sasha server when a file has not been
   attribute). The file is deleted by the Sasha server when a file has not been
-  accessed for the number of days specified. </para>
+  accessed for the number of days specified.</para>
 
 
   <para>Example:</para>
   <para>Example:</para>
 
 
-  <programlisting format="linespecific">A := STD.File.SetExpireDays('~samples::myscope::myfile',30);
+  <programlisting format="linespecific">STD.File.SetExpireDays('~samples::myscope::myfile',30);
  //file expires and is deleted after 30 days w/o access
  //file expires and is deleted after 30 days w/o access
 </programlisting>
 </programlisting>