Quine: Difference between revisions
Content added Content deleted
m (Update Lang example: Fix spelling of Lang) |
|||
Line 1,362: | Line 1,362: | ||
=={{header|Ecstasy}}== |
=={{header|Ecstasy}}== |
||
<syntaxhighlight lang="java"> |
<syntaxhighlight lang="java"> |
||
module test |
module test { |
||
{ |
|||
@Inject Console console; |
@Inject Console console; |
||
void run() |
void run() { |
||
{ |
|||
console.print($./test.x); |
console.print($./test.x); |
||
} |
|||
} |
} |
||
} |
|||
</syntaxhighlight> |
</syntaxhighlight> |
||
{{out}} |
{{out}} |
||
<pre> |
<pre> |
||
module test |
module test { |
||
{ |
|||
@Inject Console console; |
@Inject Console console; |
||
void run() |
void run() { |
||
{ |
|||
console.print($./test.x); |
console.print($./test.x); |
||
} |
|||
} |
} |
||
} |
|||
</pre> |
</pre> |
||