Just started to use Delhi XE4 and found that LongMonthNames wouldn't compile. Error E2003 Undeclared Indentifier 'LongMonthNames'.
Went to XE3 with the same error, Delphi 2009 with no problem.
Just create a new VCL project with only statment S:=LongMonthNames[12]; will give the error. System.SysUtils is used and the definition is there.
Any clue sombody?
Thanks Bo
Member #1089874
Recommended Answers
Jump to Post— nullptr 167Try using
FormatSettings.LongMonthNames[12]. I assume you declared S as a String.
All 2 Replies
nullptr 167 Occasional Poster
Member #1089874
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.