Hello world/Text: Difference between revisions
Content added Content deleted
(This version technically worked in the Waduzitdo web interpreter, but I'm sure some implementations require the stop run command S: so I finally gave the program a proper end) |
|||
Line 3,515: | Line 3,515: | ||
end. |
end. |
||
</syntaxhighlight> |
</syntaxhighlight> |
||
PascalABC.NET supports classical pascal syntax: |
|||
<syntaxhighlight lang="pascal"> |
|||
program HelloWorld; |
|||
begin |
|||
writeln('Hello World!'); |
|||
end. |
|||
</syntaxhighlight> |
|||
New syntax for an "one line" program |
|||
<syntaxhighlight lang="pascal"> |
|||
## |
|||
println('Hello World!'); |
|||
</syntaxhighlight> |
|||
{{out}} |
{{out}} |
||
<pre> |
<pre> |
||
Hello World! |
Hello World! |
||
</pre> |
</pre> |
||
=={{header|PASM}}== |
=={{header|PASM}}== |
||
<syntaxhighlight lang="pasm">print "Hello world!\n" |
<syntaxhighlight lang="pasm">print "Hello world!\n" |