[Gambas-user] OT: Multiline String initialization - was Re: Markdown and CSS

Benoît Minisini g4mba5 at gmail.com
Sat Jan 19 23:39:16 CET 2019


Le 19/01/2019 à 23:34, T Lee Davidson a écrit :
> On 1/19/19 4:18 PM, Tobias Boege wrote:
>>    Const MARKDOWN As String = ""
>>    "Hallo,\n"
>>    "\n"
>>    "das ist aber ein*schöner*  Text!"
> 
> I did not know that multi-line strings could be defined that way in 
> Gambas! I had looked for it in the documentation.
> 
> This seems similar to the Heredoc in other languages. But, in Gambas, it 
> is called a Boxed String, correct?

Not at all. This is just a multi-line string. Boxed string is something 
else.

-- 
Benoît Minisini


More information about the User mailing list