Logo

Programming-Idioms

History of Idiom 48 > diff from v56 to v57

Edit summary for version 57 by pompito:
[Fortran] Missing ampersand

Version 56

2019-09-28, 04:27:11

Version 57

2019-09-28, 05:50:20

Idiom #48 Multi-line string literal

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

Idiom #48 Multi-line string literal

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

Extra Keywords
multiline raw
Extra Keywords
multiline raw
Code
  s = "Hello &
          World"
Code
  s = "Hello &
      &World"
Comments bubble
In character context, string literals must begin with an ampersand if split in multiple lines.