Hello world/Text: Difference between revisions
Content added Content deleted
(Creation, inclusion of data from console-only and GUI-only pages.) |
No edit summary |
||
Line 6: | Line 6: | ||
'''Interpreter:''' [[Bourne Again Shell]] (bash) |
'''Interpreter:''' [[Bourne Again Shell]] (bash) |
||
⚫ | |||
<pre><nowiki> |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
==BASIC== |
==BASIC== |
||
Line 15: | Line 14: | ||
'''Compiler:''' [[BASICA]] |
'''Compiler:''' [[BASICA]] |
||
⚫ | |||
<pre><nowiki> |
|||
⚫ | |||
</nowiki></pre> |
|||
==C== |
==C== |
||
Line 23: | Line 21: | ||
'''Compiler Suite:''' [[GCC]] 4.0.1 |
'''Compiler Suite:''' [[GCC]] 4.0.1 |
||
⚫ | |||
<pre><nowiki> |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
</nowiki></pre> |
|||
==C++== |
==C++== |
||
Line 38: | Line 35: | ||
'''Compiler Suite:''' [[GCC]] 4.1.2, [[Visual Studio]] 2005 |
'''Compiler Suite:''' [[GCC]] 4.1.2, [[Visual Studio]] 2005 |
||
⚫ | |||
<pre><nowiki> |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
</nowiki></pre> |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
<pre><nowiki> |
|||
⚫ | |||
</nowiki></pre> |
|||
⚫ | |||
<pre><nowiki> |
|||
⚫ | |||
</nowiki></pre> |
|||
In Lua, parentheses are optional for function calls when there is only one argument and this argument is either a string or a table constructor. |
In Lua, parentheses are optional for function calls when there is only one argument and this argument is either a string or a table constructor. |
||
==Pascal== |
==Pascal== |
||
'''Compiler:''' [[Free Pascal]] |
'''Compiler:''' [[Free Pascal]] |
||
<pre><nowiki> |
|||
⚫ | |||
⚫ | |||
begin |
begin |
||
writeln('Goodbye, World!'); |
|||
end. |
end. |
||
</nowiki></pre> |
|||
==Perl== |
==Perl== |
||
Line 78: | Line 70: | ||
'''Interpreter:''' [[Perl]] 5.8.8 |
'''Interpreter:''' [[Perl]] 5.8.8 |
||
#!/usr/bin/perl -w |
|||
⚫ | |||
⚫ | |||
=GUI= |
=GUI= |
||
==Visual Basic== |
==Visual Basic== |
||
'''Compiler Suite:''' [[Visual Studio]] 2005 |
'''Compiler Suite:''' [[Visual Studio]] 2005 |
||
Module GoodbyeWorld |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
End Module</nowiki></pre> |