Jump to content

Here document: Difference between revisions

(GNU APL heredoc and multi-line string syntax example)
Line 121:
<lang apl>
]boxing 8
s ← """
abc
def
GHIJK
"""
s</lang>
{{out}}
<pre>┌┌→────────────────────────────────────────┐
<pre>┌→───────────────────────────────────────┐
│┌→──────┐ ┌→────────┐ ┌⊖┐ ┌→────────────┐ │
│┌→────┐ ┌→───────┐ ┌→───┐ ┌→───────────┐│
││ abc│ │ def│ │ │ │ GHIJK││ GHIJK│ │
│└───────┘ └─────────┘ └─┘ └─────────────┘ │
│└─────┘ └────────┘ └────┘ └────────────┘│
└∊─────────────────────────────────────────┘</pre>
└∊───────────────────────────────────────┘</pre>
 
=={{header|ARM Assembly}}==
67

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.