newer?: func [
{Returns true if target-1 was modified more recently than target-2;
false otherwise.}
target-1 [file! url!]
target-2 [file! url!]
][
if not exists? target-1 [return false]
either any [
all [
(not none? modified? target-1)
(none? modified? target-2)
]
(greater? modified? target-1 modified? target-2)
] [true] [false]
]
You need to create an account or log in to post comments to this site.