I'm at a loss here. What do you mean by multi-line strings besides strings with
multiple lines in them? Isn't this already possible??
Bob S
> On Aug 14, 2017, at 09:00 , Mark Wieder via use-livecode
> wrote:
>
> On 08/14/2017 03:28 AM, Alex Tweedly via use-livecode wrote:
>> While we (i.e. y
> On 15 Aug 2017, at 7:33 am, Monte Goulding via use-livecode
> wrote:
>
> put “foo\
> bar”
>
> would put:
>
> foo
> bar
I had a little play while munching my muesli this morning with adding this to
my (probably won’t get in the engine) PR for escaped strings. It was only a few
lin
> On 15 Aug 2017, at 5:22 am, Alex Tweedly via use-livecode
> wrote:
>
> put {{
> That's better!
> A really readable and short
> version that I can deal with.
> }} into temp
It’s really unlikely we would use { } because one day we will want to implement
array literals. You know one time I mes
If you mean, do I think
put \
"This is part of" &CR& \
"A multi-line string which" &CR& \
"I find much less readable." into temp
is less preferable than
put {{
That's better!
A really readable and short
version that I can deal with.
}} into temp
then, Yes - absolutely.
To be honest, I don't m
Bob Hall wrote:
>> On Aug 14, 2017, at 6:28 AM, Alex Tweedly wrote:
>>
>> While we (i.e. you) are thinking about string delimiters, could we
>> PLEASE have some decent way to do multi-line strings.
>
> I find myself in many situations where multi-line strings would make
> my code so much more rea
> On Aug 14, 2017, at 6:28 AM, Alex Tweedly via use-livecode
> wrote:
>
> While we (i.e. you) are thinking about string delimiters, could we PLEASE
> have some decent way to do multi-line strings.
I find myself in many situations where multi-line strings would make my code so
much more reada
So you don't like &CR& ?
On Mon, Aug 14, 2017 at 12:00 PM, Mark Wieder via use-livecode <
use-livecode@lists.runrev.com> wrote:
> On 08/14/2017 03:28 AM, Alex Tweedly via use-livecode wrote:
>
>> While we (i.e. you) are thinking about string delimiters, could we PLEASE
>> have some decent way to
On 08/14/2017 03:28 AM, Alex Tweedly via use-livecode wrote:
While we (i.e. you) are thinking about string delimiters, could we
PLEASE have some decent way to do multi-line strings.
Yes, please.
Whether it's like Python's triple-quote
No, please.
--
Mark Wieder
ahsoftw...@gmail.com
___
While we (i.e. you) are thinking about string delimiters, could we
PLEASE have some decent way to do multi-line strings.
Whether it's like Python's triple-quote, or Perl's heredoc, or just
some way to do them without either escaped '\n's or non-embedded CRs.
Thanks
Alex.
On 14/08/2017