[fpc-pascal] Setting string to be UnicodeString by default

2012-05-15 Thread Olivier Sannier
Hello all, Is there a way to force the string type to be an alias to UnicodeString instead of AnsiString as it is by default? I tried the obvious type string = UnicodeString but of course it is not allowed as string is a reserved keyword. Regards

Re: [fpc-pascal] Setting string to be UnicodeString by default

2012-05-15 Thread Jonas Maebe
Olivier Sannier wrote on Tue, 15 May 2012: Is there a way to force the string type to be an alias to UnicodeString instead of AnsiString as it is by default? It is not possible in FPC 2.6.x. Wth the svn trunk version, you can use {$modeswitch unicodestrings} (in combination with {$h+}),

Re: [fpc-pascal] Setting string to be UnicodeString by default

2012-05-15 Thread Mattias Gaertner
On Tue, 15 May 2012 10:43:19 +0200 Jonas Maebe jonas.ma...@elis.ugent.be wrote: Olivier Sannier wrote on Tue, 15 May 2012: Is there a way to force the string type to be an alias to UnicodeString instead of AnsiString as it is by default? It is not possible in FPC 2.6.x. Wth the svn

Re: [fpc-pascal] Setting string to be UnicodeString by default

2012-05-15 Thread Jonas Maebe
Mattias Gaertner wrote on Tue, 15 May 2012: On Tue, 15 May 2012 10:43:19 +0200 Jonas Maebe jonas.ma...@elis.ugent.be wrote: It is not possible in FPC 2.6.x. Wth the svn trunk version, you can use {$modeswitch unicodestrings} (in combination with {$h+}), or even better {$mode delphiunicode}

Re: [fpc-pascal] Re: Linux sound (especially MIDI) programming: ALSA?

2012-05-15 Thread Mark Morgan Lloyd
Mark Morgan Lloyd wrote: leledumbo wrote: http://sourceforge.net/projects/fpalsa/ http://sourceforge.net/projects/humus/ Thanks for those. Also http://perso.wanadoo.es/plcl/alsapas/alsapas-en.html so as I thought there appears to be (at least) two sets of ALSA bindings: fpalsa and alsapas.

Re: [fpc-pascal] Setting string to be UnicodeString by default

2012-05-15 Thread Marcos Douglas
On Tue, May 15, 2012 at 6:16 AM, Jonas Maebe jonas.ma...@elis.ugent.be wrote: Mattias Gaertner wrote on Tue, 15 May 2012: On Tue, 15 May 2012 10:43:19 +0200 Jonas Maebe jonas.ma...@elis.ugent.be wrote: It is not possible in FPC 2.6.x. Wth the svn trunk version, you can use {$modeswitch

Re: [fpc-pascal] Setting string to be UnicodeString by default

2012-05-15 Thread OBones
Marcos Douglas wrote: On Tue, May 15, 2012 at 6:16 AM, Jonas Maebejonas.ma...@elis.ugent.be wrote: Mattias Gaertner wrote on Tue, 15 May 2012: On Tue, 15 May 2012 10:43:19 +0200 Jonas Maebejonas.ma...@elis.ugent.be wrote: It is not possible in FPC 2.6.x. Wth the svn trunk version, you

Re: [fpc-pascal] Setting string to be UnicodeString by default

2012-05-15 Thread Tomas Hajny
On Tue, May 15, 2012 15:10, Marcos Douglas wrote: On Tue, May 15, 2012 at 6:16 AM, Jonas Maebe jonas.ma...@elis.ugent.be wrote: Mattias Gaertner wrote on Tue, 15 May 2012: On Tue, 15 May 2012 10:43:19 +0200 Jonas Maebe jonas.ma...@elis.ugent.be wrote: It is not possible in FPC 2.6.x. Wth

Re: [fpc-pascal] Setting string to be UnicodeString by default

2012-05-15 Thread Jonas Maebe
Marcos Douglas wrote on Tue, 15 May 2012: I would like to understand why Delphi compatibility is so important to FPC and Lazarus. Please hold that discussion on the fpc-other mailing list instead. This list is for getting help with using and programming in current FPC versions, and

Re: [fpc-pascal] Setting string to be UnicodeString by default

2012-05-15 Thread Marcos Douglas
On Tue, May 15, 2012 at 10:19 AM, Tomas Hajny xhaj...@hajny.biz wrote: In that case I suggest asking on the fpc-other list. * On Tue, May 15, 2012 at 10:21 AM, Jonas Maebe jonas.ma...@elis.ugent.be wrote: Please hold that discussion on the fpc-other mailing list instead. This list is for