1.11M Members

LongMonthNames in Delphi XE3 and XE4

 
0
 

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

 
0
 

Try using FormatSettings.LongMonthNames[12]. I assume you declared S as a String.

 
0
 

You are correct, problem solved, thank's a lot!
I couldn't read the help text correct...
Regards Bo

You
This article has been dead for over six months: Start a new discussion instead
Post:
Start New Discussion
Tags Related to this Article