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 ....;

Recommended Answers

System.SysUtils.pas has this:

DateSeparator: Char deprecated 'Use FormatSettings.DateSeparator';

Jump to Post

All 3 Replies

Re: Delphi XE5 error = Undeclared identifier: 'DateSeparator' 80 80

System.SysUtils.pas has this:

DateSeparator: Char deprecated 'Use FormatSettings.DateSeparator';

Re: Delphi XE5 error = Undeclared identifier: 'DateSeparator' 80 80

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

Re: Delphi XE5 error = Undeclared identifier: 'DateSeparator' 80 80

О.к.

Be a part of the DaniWeb community

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