Skip to content

Revision Variable

What It Does

The compile-time variable !@ stamps the compiled program file with the DataFlex revision number under which it was compiled. The value will always be the current revision of DataFlex without the separator .. For example:

  • In DataFlex 14.1, the value will be 141
  • In DataFlex 15.0, the value will be 150
  • And so on.
#IF (!@=150)
    showln 'This is a DataFlex 15.0 program'
#ELSE
    showln 'This is not a DataFlex 15.0 program'
#ENDIF

The !@ revision variable is reserved for purposes of revision compatibility and should not be changed by DataFlex developers.