Hello world/Text: Difference between revisions

Content added Content deleted
No edit summary
No edit summary
Line 2: Line 2:


=Text Terminal=
=Text Terminal=
==bash==


==[[BASIC]]==
'''Interpreter:''' [[Bourne Again Shell]] (bash)

#!/bin/bash
echo "Goodbye World!"


==BASIC==


'''Compiler:''' [[BASICA]]
'''Compiler:''' [[BASICA]]
Line 17: Line 10:




==C==
==[[C]]==


'''Compiler Suite:''' [[GCC]] 4.0.1
'''Compiler Suite:''' [[GCC]] 4.0.1
Line 31: Line 24:




==C++==
==[[C++]]==


'''Compiler Suite:''' [[GCC]] 4.1.2, [[Visual Studio]] 2005
'''Compiler Suite:''' [[GCC]] 4.1.2, [[Visual Studio]] 2005
Line 46: Line 39:
}
}


==Lua==
==[[Lua]]==


'''Interpreter:''' [[Lua]] 5.1.1
'''Interpreter:''' [[Lua]] 5.1.1
Line 58: Line 51:
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]]


Line 66: Line 59:
end.
end.


==Perl==
==[[Perl]]==


'''Interpreter:''' [[Perl]] 5.8.8
'''Interpreter:''' [[Perl]] 5.8.8
Line 72: Line 65:
#!/usr/bin/perl -w
#!/usr/bin/perl -w
print "Goodbye, World!\n";</nowiki></pre>
print "Goodbye, World!\n";</nowiki></pre>

==[[UNIX Shell]]==

'''Interpreter:''' [[Bourne Again Shell]] (bash)

#!/bin/bash
echo "Goodbye World!"


=GUI=
=GUI=
==Visual Basic==
==[[Visual Basic .NET]]==
'''Compiler Suite:''' [[Visual Studio]] 2005
'''Compiler Suite:''' [[Visual Studio]] 2005
Module GoodbyeWorld
Module GoodbyeWorld