IsFileNewer

IsFileNewer(src: stringa, destinazione: Point)

Ritorna true se il file <src> e' stato modificato più recentemente rispetto a destinazione.

 

Esempio 1. Esempio IsFileNewer

-- restituisce nil se i file hanno la stessa data
local piuNuovo = IsFileNewer("C:\\new.txt", "C:\\old.txt")
if piuNuovo then print("\nnew.txt è più recente") end