Anyone know how to avoid this error - message on compiling my program using Delphi XE5: Undeclared identifier: 'DateSeparator'
When I compile the same program using Delphi XE, it is OK, without any errors.
I have declared:

uses
  SysUtils ....;

System.SysUtils.pas has this:

DateSeparator: Char deprecated 'Use FormatSettings.DateSeparator';

Thanks !
When I changed DateSeparator to FormatSettings.DateSeparator, the program compiles successful.

О.к.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.