$FIniTim: Difference between revisions

From m204wiki
Jump to navigation Jump to search
(Automatically generated page update)
(Automatically generated page update)
Line 9: Line 9:


==Syntax==
==Syntax==
<p class="syntax"><span class="term">%time</span> = <span class="literal">$FIniTim</span>(fname)
<p class="syntax"><span class="term">%time</span> = <span class="literal">$FIniTim</span>(<span class="term">fname</span>)
</p>
</p>



Revision as of 23:56, 12 April 2013

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

%time = $FIniTim(fname)

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