Is it implemented heredoc in mobl?

Submitted by Terje Pedersen on 15 April 2011 at 12:54

On 19 April 2011 at 11:39 Zef Hemel commented:

0.4.4 will feature triple-quote strings:

label("""Hello there, this is
a triple-quote "string".""")

On 19 April 2011 at 11:39 Zef Hemel closed this issue.

On 19 April 2011 at 11:39 Zef Hemel tagged 0.4.4

On 6 June 2011 at 09:42 Terje Pedersen commented:

Works great for lots of texts but not for bulding text like XML data.

This doesn’t work, warning Fragment is ambiguous

var test = “terje”
var xml = """

“““+test+”””

This doesn’t work either:

var test = “terje”
var xml = """

“+test+”


On 6 June 2011 at 12:28 Terje Pedersen commented:

Doesn’t work with multiple """ don’t even on a newline


var xml = """
something
"""

var next = """
another thing
"""


On 6 June 2011 at 12:29 Terje Pedersen commented:

I tried to include one of our feeds aswell inside """ but it failed. http://support2.unimicro.no/rss.xml

Log in to post comments