FILE_UPDATE

Syntax

fu = FILE_UPDATE(#channel)

fu = FILE_UPDATE(‘filename’)

Location DJToolkit 1.16

This function returns the date that the appropriate file was last updated, either by printing to it, saving it or editing it using an editor etc. This date is set in all known QLs and emulators etc.

EXAMPLE

1000 fu = FILE_UPDATE('flp1_boot')
1010 IF fu <> 0 THEN
1020    PRINT "Flp1_boot was last written/saved/updated on " & DATE$(fu)
1030 ELSE
1040    PRINT "Cannot read lates UPDATE date from flp1_boot. Error: " & fu & "."
1050 END IF

CROSS-REFERENCE

FILE_DATASPACE, FILE_LENGTH, FILE_TYPE, FILE_TYPE.