Hello World!

zen-r

Active Member
Messages
1,937
Reaction score
3
Points
38
¡plɹoʍ ollǝɥ

Language : Australian (the land down-under!) ;)
 

jtwhite

Community Advocate
Community Support
Messages
1,381
Reaction score
30
Points
0
PHP:
<?php

$string = array (
					"hi" => "Hello, World!";
				);
				
if($string)
{
	echo $string['hi'];
}


else 
{
	// Oh, what the heck?
	
	echo 'Hello, World!';
}

?>

Lol. I don't know why I made it so complicated?
 
Last edited:

ichwar

Community Advocate
Community Support
Messages
1,454
Reaction score
7
Points
0
¡dlrow olleɥ

All mixed up.
 

smithee

New Member
Messages
45
Reaction score
2
Points
0
44 33 555 555 666 # 9 666 777 555 3 11111

Texting... without predictive text (my space is at "#"... apparently)
 
Last edited:

umaths

New Member
Messages
0
Reaction score
0
Points
0
"hello world":
md5(32) = 5eb63bbbe01eeed093cb22bb8f5acdc3
md5(16) = e01eeed093cb22bb​
sha1=2aae6c35c94fcfb415dbe95f408b9ce91ee846ed
sha256=b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9
eMule=aa010fbc1d14c795d86ef98c95479d17
 

ichwar

Community Advocate
Community Support
Messages
1,454
Reaction score
7
Points
0
A really complicated way to do it in Java:

public class Closures02 {

public static void main(String[] args) {
// no parameters, no statements
System.out.println({ => "Hello World" }.invoke());
// one parameter, no statements
System.out.println({ String greeting => greeting + " " + "World" }.invoke("Hello"));
// two parameters, no statements
System.out.println({
String greeting, String planet => greeting + " " + planet }.invoke("Hello", "World"));
// no parameters, one statement
System.out.println(
{ => System.out.print("Hello"); " " + "World" }.invoke());
// one parameter, one statement
System.out.println({
String separator =>
System.out.print("Hello"); separator + "World"}.invoke(" "));
// two parameters, one statement
System.out.println({
String separator, String planet => System.out.print("Hello"); separator + planet
}.invoke(" ", "World"));
}

}
 

DefecTalisman

Community Advocate
Community Support
Messages
4,148
Reaction score
5
Points
38
PERL
Code:
#!/usr/bin/perl -w

use English;
use strict;

print "Hello World!";

WINDOWS DOS/BATCH
Code:
ECHO off
cls
title Hello World!
color 03
set path=%HOMEPATH%\
cls
:SayHello
ECHO Hello World!
PAUSE

PHP:
<?php
/*
 * A few not mentioned already
 */
$s = array('Hello ','World','!');

foreach($s as $w) { echo $w; } 
// OR //
print_r($s);
?>

JavaScript
Code:
<script language="JavaScript" type="text/javascript" >
alert('Hello World!');
<!-- note the semi colon at the end of a line *IS* optional -->
</script>

HTML:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Hello World!</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<head>
<body>
<h1>Hello World!</h1>
</body>
 
Last edited:

jm_bernz

New Member
Messages
0
Reaction score
0
Points
0
Installshield scripting...
Code:
#include "ifx.h"

function OnBegin()
begin
MessageBox("HELLO WORLD", INFORMATION);
end;
 

stpvoice

Community Support Rep
Community Support
Messages
5,987
Reaction score
212
Points
63
H$!!().w()£1D.

Creative-special characters. :)
 

miguelkp

Member
Messages
304
Reaction score
7
Points
18
Ruby (a very very very stupid way, of course XD):

Code:
class Hello
	def initialize (text)
		@text = text
	end
	
	def show_msg
		print(@text.to_s)
	end
end

begin
	@hello = Hello.new("Hello, World")
	@hello.show_msg
end
 

alexandgruntz

New Member
Messages
744
Reaction score
0
Points
0
Visual Basic.NET, using a message box (without the auto-generated stuff).

Sub Hi
MsgBox("Hello World!", MsgBoxStyle.Information, "Hello")
End Sub
 

Anna

I am just me
Staff member
Messages
11,751
Reaction score
581
Points
113
Using Swedish:

Hallå världen!
 
Top