1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

relaxed @FILEAGE

Discussion in 'Suggestions' started by Roedy, Apr 1, 2012.

  1. Roedy

    Joined:
    Jun 8, 2008
    Messages:
    120
    Likes Received:
    2
    I think in many cases you could deal with the non-existence of a file passed to #FILEAGE as a parmeter if there were a way to get a non-existent file to return Long.MIN_VALUE. logic can treat a non-existent file as a badly out of date file.
     
  2. Steve Fabian

    Joined:
    May 20, 2008
    Messages:
    3,523
    Likes Received:
    4
    Whereas the @FILEAGE of an existing file is always a non-negative integer, the return value string -1 could be used as an error indicator for a non-existent file, same as @CRC32 would.
     

Share This Page