Re: [fpc-devel] Using double quotes

2016-03-01 Thread vfclists .
On 28 February 2016 at 09:48, Marcos Douglas wrote: > On Sat, Feb 27, 2016 at 3:06 PM, Sven Barth > wrote: > > Mostly don't like, but also it introduces a ambiguity in the language > > especially since you could use your proposed variant in a single line as > > well. > > I'd more prefer the $Inc

Re: [fpc-devel] Using double quotes

2016-02-28 Thread Marcos Douglas
On Sat, Feb 27, 2016 at 3:06 PM, Sven Barth wrote: > Mostly don't like, but also it introduces a ambiguity in the language > especially since you could use your proposed variant in a single line as > well. > I'd more prefer the $IncludeString directive for which there's still a patch > waiting in

Re: [fpc-devel] Using double quotes

2016-02-28 Thread Michael Van Canneyt
On Sat, 27 Feb 2016, Sven Barth wrote: Am 27.02.2016 17:44 schrieb "Marcos Douglas" : On Fri, Feb 26, 2016 at 8:12 PM, Sven Barth wrote: Am 26.02.2016 21:21 schrieb "Marcos Douglas" : Is there any chance to implement in the compiler something link this? No. Is there a good reason or

Re: [fpc-devel] Using double quotes

2016-02-27 Thread Sven Barth
Am 27.02.2016 17:44 schrieb "Marcos Douglas" : > > On Fri, Feb 26, 2016 at 8:12 PM, Sven Barth wrote: > > Am 26.02.2016 21:21 schrieb "Marcos Douglas" : > >> > >> Is there any chance to implement in the compiler something link this? > > > > No. > > Is there a good reason or you just don't liked? T

Re: [fpc-devel] Using double quotes

2016-02-27 Thread Mark Morgan Lloyd
Marcos Douglas wrote: On Sat, Feb 27, 2016 at 6:38 AM, Mark Morgan Lloyd wrote: Marcos Douglas wrote: Is there any chance to implement in the compiler something link this? S := " insert into t ( id, description ) values ( 1, 'foo' ) "; Did you see? No, I don't see. It looks l

Re: [fpc-devel] Using double quotes

2016-02-27 Thread Ralf Quint
On 2/27/2016 8:52 AM, Marcos Douglas wrote: On Sat, Feb 27, 2016 at 1:49 PM, Ralf Quint wrote: Why not simply write: S := 'insert into t ( id, description ) values ( 1, ''foo'' )'; That also eliminates the problem with your "multi line string enclosed in double-quotes" problem of not being cl

Re: [fpc-devel] Using double quotes

2016-02-27 Thread Marcos Douglas
On Sat, Feb 27, 2016 at 1:49 PM, Ralf Quint wrote: > Why not simply write: > > S := 'insert into t ( id, description ) values ( 1, ''foo'' )'; > > That also eliminates the problem with your "multi line string enclosed in > double-quotes" problem of not being clear where and how many spaces are in

Re: [fpc-devel] Using double quotes

2016-02-27 Thread Ralf Quint
On 2/27/2016 8:44 AM, Marcos Douglas wrote: On Sat, Feb 27, 2016 at 6:38 AM, Mark Morgan Lloyd wrote: Marcos Douglas wrote: Is there any chance to implement in the compiler something link this? S := " insert into t ( id, description ) values ( 1, 'foo' ) "; Did you see?

Re: [fpc-devel] Using double quotes

2016-02-27 Thread Marcos Douglas
On Sat, Feb 27, 2016 at 6:38 AM, Mark Morgan Lloyd wrote: > Marcos Douglas wrote: >> >> Is there any chance to implement in the compiler something link this? >> >> S := " >> insert into t ( >> id, description >> ) values ( >> 1, 'foo' >> ) >> "; >> >> Did you see? > > > No, I don't s

Re: [fpc-devel] Using double quotes

2016-02-27 Thread Marcos Douglas
On Fri, Feb 26, 2016 at 8:12 PM, Sven Barth wrote: > Am 26.02.2016 21:21 schrieb "Marcos Douglas" : >> >> Is there any chance to implement in the compiler something link this? > > No. Is there a good reason or you just don't liked? Thanks. Marcos Douglas _

Re: [fpc-devel] Using double quotes

2016-02-27 Thread Mark Morgan Lloyd
Marcos Douglas wrote: Is there any chance to implement in the compiler something link this? S := " insert into t ( id, description ) values ( 1, 'foo' ) "; Did you see? No, I don't see. It looks like an ordinary string to me, except that you're allowing it to extend over multip

Re: [fpc-devel] Using double quotes

2016-02-26 Thread Sven Barth
Am 26.02.2016 21:21 schrieb "Marcos Douglas" : > > Is there any chance to implement in the compiler something link this? No. Regards, Sven ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc