$FIniTim: Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
mNo edit summary
Line 6: Line 6:
This function returns the date and time a file was initialized, in YYDDDMMHHSSTH format.  
This function returns the date and time a file was initialized, in YYDDDMMHHSSTH format.  


The $FIniTim function accepts one arguments and returns either a null string or a string in YYDDDHHMMSSTH format.  
The <var>$FIniTim</var> function accepts one arguments and returns either a null string or a string in YYDDDHHMMSSTH format.  


The first argument is the name of the file for which initialization date and time is to be returned. The file must be currently opened by the user.
==Syntax==
==Syntax==
<p class="syntax"><section begin="syntax" /> %TIME = $FIniTim(fname)
<p class="syntax"><section begin="syntax" />%time = $FIniTim(fname)
<section end="syntax" /></p>
<section end="syntax" /></p>
<p class="caption">$FIniTim Function
</p>
<p class="caption">%TIME is a null string if the file is not open, or it is it is the date and time that the file was initialized in YYDDDHHMMSSTH format.</p>


===Syntax terms===
<table class="syntaxTable">
<tr><th>%time</th>
<td>A null string if the file is not open, or it is it is the date and time that the file was initialized in YYDDDHHMMSSTH format.</td></tr>
<tr><th>fname</th>
<td>The name of the file for which initialization date and time is to be returned. The file must be currently opened by the user.</td></tr>
</table>


The code fragment
==Examples==
<p class="code"> OPEN FILE MYFILE
This code fragment sets %TIME to the date and time that file MYFILE was initialized:
%TIME = $FIniTim('MYFILE')
<p class="code">OPEN FILE MYFILE
%TIME = $FIniTim('MYFILE')
</p>
</p>
sets %TIME to the date and time that file MYFILE was initialized.<p>
 


<ul>
<ul>
 
<li><var class="product">Sirius Functions</var>
<li>&amp;SFUNC
 
</ul>
</ul>
   
  <p class="caption">Products authorizing $FIniTim</p>
</p>
<p class="caption">Products authorizing $FIniTim
</p>




[[Category:$Functions|$FIniTim]]
[[Category:$Functions|$FIniTim]]

Revision as of 20:02, 19 October 2012

File initialization YYDDDMMHHSSTH

Most Sirius $functions have been deprecated in favor of Object Oriented methods. There is no OO equivalent for the $FIniTim function.

This function returns the date and time a file was initialized, in YYDDDMMHHSSTH format.

The $FIniTim function accepts one arguments and returns either a null string or a string in YYDDDHHMMSSTH format.

Syntax

<section begin="syntax" />%time = $FIniTim(fname) <section end="syntax" />

Syntax terms

%time A null string if the file is not open, or it is it is the date and time that the file was initialized in YYDDDHHMMSSTH format.
fname The name of the file for which initialization date and time is to be returned. The file must be currently opened by the user.

Examples

This code fragment sets %TIME to the date and time that file MYFILE was initialized:

OPEN FILE MYFILE %TIME = $FIniTim('MYFILE')


  • Sirius Functions

Products authorizing $FIniTim