UDF_EOF UDF IDL INTERFACE MANUAL UDF_EOF
NAME
UDF_EOF
USAGE
EoT UDF_EOF ( fh )
INPUT DEFINITIONS
fh - Index into the information array to the UDF from which data is to be read. fh is the return value obtained from call to UDF_OPEN for this UDF source.
RETURN DEFINITION
EoT - End of time flag
0 - End time input into UDF_OPEN has not been exceeded.
1 - End time input into UDF_OPEN has been exceeded.
DESCRIPTION
UDF_EOF() returns the temporal status of the data obtained from the last UDF_READ call using fh as its UDF designator. The routine returns a 0 if the end time set in the call to UDF_OPEN for this source has been exceeded and a 1 if not. If no prior call to UDF_READ has been made UDF_EOF returns 0.

This routine also checks the current status of the UDF file and will attempt to open the next UDF file if the previous call to UDF_OPEN indicates that the end of the current file has been reached.

ERRORS
USAGE : EoT = UDF_EOF(fh)
ReOpenFile : %d (Udf Error from ReOpenFile)
APPLICABLE FORMATS
UDF V2.2, V2.1, IDFS V2.1
RESTRICTIONS
None.
SEE ALSO
None. ret_codes (1H)
Dec 6, 2002

&larr Previous TOC HOME Next &rarr
UDF_CLOSE UDF_JUMPTIME