$FIniTim

From m204wiki
Revision as of 21:21, 22 November 2011 by Alan (talk | contribs)
Jump to navigation Jump to search

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.

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

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

$FIniTim Function

%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.


The code fragment

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

sets %TIME to the date and time that file MYFILE was initialized.

  • &SFUNC

Products authorizing $FIniTim