IfNotFileChanged


 

IfNotFileChanged>filename,range[,label_name[,false_label_name]]

 statements  

[ [Else

 else statements]

Endif ]

 

If the given file's date is not in the range of days specified the first statements are executed, otherwise the else statements are executed.  Alternatively, instead of Else/Endif specify label names.

 

When label names are specified execution jumps to the specified label if the given file's date is not in the range of days specified. If a second false label is specified, execution will jump to that label if the expression resolves false (file date IS in range).  Subroutine names can also be specified.  When specifying a subroutine name execution will jump to that subroutine and return to the line after the If statement when the subroutine has completed.

 

 

See also: IfFileChanged, Label, Goto, IfWindowOpen, IfFileExists, If, Subroutines

 

Example

 

To see if test.txt is not less than 30 days old :

 

IfNotFileChanged>test.txt,<30

  MessageModal>file must be 30 or more days old

Endif