Print itself: Difference between revisions
Content added Content deleted
(→{{header|Python}}: answer with a code that actually answer the challenge) |
|||
Line 46: | Line 46: | ||
=={{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> |
||