Logo

Programming-Idioms

History of Idiom 48 > diff from v13 to v14

Edit summary for version 14 by :

Version 13

2015-10-22, 01:00:23

Version 14

2015-10-22, 01:00:55

Idiom #48 Multi-line string litteral

Assign to variable s a string litteral consisting in several lines of text

Idiom #48 Multi-line string litteral

Assign to variable s a string litteral consisting in several lines of text

Code
"Strings
may span
across multiple lines"
"and they can"
"have as many portions"
"as you want"
"all of them quoted"
Code
S = "Strings
may span
across multiple lines"
"and they can"
"have as many portions"
"as you want"
"all of them quoted".
Comments bubble
variables are uppercased here
Doc URL
http://www.erlang.org/doc/reference_manual/data_types.html#id70609
Doc URL
http://www.erlang.org/doc/reference_manual/data_types.html#id70609
Demo URL
http://tryerl.seriyps.ru/#id=22f3
Demo URL
http://tryerl.seriyps.ru/#id=22f3