Anonymous user
Quine: Difference between revisions
m
→{{header|REXX}}: used a simpler program for the 1st version, included a blank line for the 2nd version, use templates for the outputs.
m (→{{header|MATLAB}} / {{header|Octave}}: minor correction) |
m (→{{header|REXX}}: used a simpler program for the 1st version, included a blank line for the 2nd version, use templates for the outputs.) |
||
Line 2,107:
===version 1===
<lang rexx>/*REXX program outputs
{{out|output}}
<pre>
/*REXX program outputs
</pre>
===version 2===
<lang rexx>/*REXX program outputs its own multi─line source
do k=1 for sourceline()▼
do j=1
{{out|output}}
<pre>
/*REXX program outputs its own multi─line source
do j=1
say
end /*j*/
</pre>
===version 3===
A version that doesn't use <code>sourceline()</code> which is kind of a cheat.
<br>---But it ' 'is'' allowed (see the 2<sup>nd</sup> bullet point in the task's preamble).
<br><br><s>'''Error?'''</s>
|