Suggestions to triple quoted strings proposal

Peter Hall peterjoel at gmail.com
Wed Dec 13 07:01:18 PST 2006


> ===
> function query() {
>     return """
>     SELECT 15
>     FROM dual
>     """
> }
>
> What do you see inside of triple quotes? ;-)
>
> I see two lines of text. First line is "SELECT 15". Second line is
> "FROM dual". So I think function should return text consisted from
> these two line joined by newline-separator.
>


It doesn't seem particularly arduous to do:

function query() {
   return
   """SELECT 15
   FROM dual
   """
}


Peter



More information about the Es4-discuss mailing list