On Tue, 22 Apr 2008, Graeme Geldenhuys wrote:

> By default under Linux, the LongDateFormat is defined in SysUtils as follows:
> LongDateFormat: 'dd" "mmmm" "yyyy';
> 
> Must there be double quotes in the string?  If so, what purpose do they serve?
> I've tried with or without the double quotes and the output is exactly the
> same on my Linux system.
> 
> 
> dd" "mmmm" "yyyy = 22 April 2008
> dd mmmm yyyy = 22 April 2008

The quotes are just a safety measure; In this particular case, they serve no
purpose. But in general, so substitution is performed on parts that are in
double quotes.

Michael.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to