Print itself: Difference between revisions

Add Ecstasy example
m (syntax highlighting fixup automation)
(Add Ecstasy example)
Line 20:
for /f "tokens=*" %%s in (%~n0%~x0) do (echo %%s)
</syntaxhighlight>
 
=={{header|Ecstasy}}==
<syntaxhighlight lang="java">
module test
{
@Inject Console console;
void run()
{
console.print($./test.x);
}
}
</syntaxhighlight>
 
{{out}}
<pre>
module test
{
@Inject Console console;
void run()
{
console.print($./test.x);
}
}
</pre>
 
=={{header|FreeBASIC}}==
162

edits