Here document: Difference between revisions

Line 1,112:
when not
backs\ashed!</pre>
 
=={{header|MATLAB}}==
Matlab has no built-in heredoc syntax. The closest thing you can do is the following:
<lang MATLAB>sprintf('%s\n',...
'line1 text',...
' line2 text',...
' line3 text',...
' line4 text')
 
sprintf('%s\n',...
'Usage: thingy [OPTIONS]',...
' -h Display this usage message',...
' -H hostname Hostname to connect to')</lang>
{{out}}
<pre>
'line1 text
line2 text
line3 text
line4 text
'
 
'Usage: thingy [OPTIONS]
-h Display this usage message
-H hostname Hostname to connect to
'</pre>
 
=={{header|NewLISP}}==