String delimiters [WAS Re: common code patterns]

Monte Goulding monte at appisle.net
Mon Aug 14 18:32:48 EDT 2017


> On 15 Aug 2017, at 7:33 am, Monte Goulding via use-livecode <use-livecode at lists.runrev.com> 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 lines to add but I didn’t look at colorization yet. I put a gif up here https://github.com/livecode/livecode/pull/5781 <https://github.com/livecode/livecode/pull/5781>

Of course that is:

put ‘foo\
          bar’

Cheers

Monte


More information about the use-livecode mailing list