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

2
Contributors
2
Replies
12
Views
3 Years
Discussion Span
Last Post by Bo_1
0

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

Edited by nullptr

0

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

This article has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.