Hello World in different languages !!!

For everything that's not in any way related to PureBasic. General chat etc...
josku_x
Addict
Addict
Posts: 997
Joined: Sat Sep 24, 2005 2:08 pm

Hello World in different languages !!!

Post by josku_x »

Hello!

Looking through some articles on wikipedia, I bombed to this one:
http://en.wikipedia.org/wiki/Hello_worl ... _languages

WOW :shock: Some of those are so weird to understand... Even GameMaker is easier :lol:

Say, have you seen such crazy mini-madness?
thefool
Always Here
Always Here
Posts: 5875
Joined: Sat Aug 30, 2003 5:58 pm
Location: Denmark

Post by thefool »

This is my new language of choice!

http://www.dangermouse.net/esoteric/whenever.html
User avatar
flaith
Enthusiast
Enthusiast
Posts: 704
Joined: Mon Apr 25, 2005 9:28 pm
Location: $300:20 58 FC 60 - Rennes
Contact:

Post by flaith »

“Fear is a reaction. Courage is a decision.” - WC
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Post by Trond »

Has anyone ever tried to make something useful in Malbolge?
User avatar
Rescator
Addict
Addict
Posts: 1769
Joined: Sat Feb 19, 2005 5:05 pm
Location: Norway

Post by Rescator »

Hello World! In English:

Hello world!


That proves English is the most simple programming language there is. :lol:
User avatar
Rescator
Addict
Addict
Posts: 1769
Joined: Sat Feb 19, 2005 5:05 pm
Location: Norway

Post by Rescator »

Actualy, PHP is that simple!

Make a .php file call it hello.php

Then enter this in it:

Code: Select all

Hello world!
Run the script! :)
User avatar
GeoTrail
Addict
Addict
Posts: 2794
Joined: Fri Feb 13, 2004 12:45 am
Location: Bergen, Norway
Contact:

Post by GeoTrail »

Rescator wrote:Actualy, PHP is that simple!

Make a .php file call it hello.php

Then enter this in it:

Code: Select all

Hello world!
Run the script! :)
NOT true.
That won't get processed as PHP but as text.

<?php
echo "Hello world";
?>

that's as simple/small as it can be done in PHP and at the same time being processed as PHP.
I Stepped On A Cornflake!!! Now I'm A Cereal Killer!
thefool
Always Here
Always Here
Posts: 5875
Joined: Sat Aug 30, 2003 5:58 pm
Location: Denmark

Post by thefool »

quickbasic:

Code: Select all

print "Hello World"
Dare2
Moderator
Moderator
Posts: 3321
Joined: Sat Dec 27, 2003 3:55 am
Location: Great Southern Land

Post by Dare2 »

BasicA

? "Hello World"
@}--`--,-- A rose by any other name ..
User avatar
Rescator
Addict
Addict
Posts: 1769
Joined: Sat Feb 19, 2005 5:05 pm
Location: Norway

Post by Rescator »

GeoTrail wrote:
Rescator wrote:Actualy, PHP is that simple!

Make a .php file call it hello.php

Then enter this in it:

Code: Select all

Hello world!
Run the script! :)
NOT true.
That won't get processed as PHP but as text.
Exactly, so with PHP you do not even have to use code to display "Hello world!" :P

(altough technicaly as PHP does not find a <?php ?> section it automaticaly does a passthru aka echo of the text,
and you can also use variables, so it's not just plain text it does a direct passthru on. :)
josku_x
Addict
Addict
Posts: 997
Joined: Sat Sep 24, 2005 2:08 pm

Post by josku_x »

hehe. Actually HTML is the easiest one!
Either you put Hello World! like this:

Code: Select all

Hello World!
or:

Code: Select all

<p>Hello World!</p>
But there are some cool ones even if they're hard to understand, like Chef... etc..
Intrigued
Enthusiast
Enthusiast
Posts: 501
Joined: Thu Jun 02, 2005 3:55 am
Location: U.S.A.

Post by Intrigued »

GeoTrail wrote:
Rescator wrote:Actualy, PHP is that simple!

Make a .php file call it hello.php

Then enter this in it:

Code: Select all

Hello world!
Run the script! :)
NOT true.
That won't get processed as PHP but as text.

<?php
echo "Hello world";
?>

that's as simple/small as it can be done in PHP and at the same time being processed as PHP.
Maybe not... depending on how the "config file" is setup:

<?php
echo "Hello world";
?>

could be...

<?
echo "Hello World"
?>


Si?
Intrigued - Registered PureBasic, lifetime updates user
User avatar
GeoTrail
Addict
Addict
Posts: 2794
Joined: Fri Feb 13, 2004 12:45 am
Location: Bergen, Norway
Contact:

Post by GeoTrail »

Intrigued wrote:Maybe not... depending on how the "config file" is setup:

<?php
echo "Hello world";
?>

could be...

<?
echo "Hello World"
?>


Si?
Well if you wanna nitpick, NO that won't work :lol:
You forgot the all inportant ;
I Stepped On A Cornflake!!! Now I'm A Cereal Killer!
Intrigued
Enthusiast
Enthusiast
Posts: 501
Joined: Thu Jun 02, 2005 3:55 am
Location: U.S.A.

Post by Intrigued »

GeoTrail wrote:
Intrigued wrote:Maybe not... depending on how the "config file" is setup:

<?php
echo "Hello world";
?>

could be...

<?
echo "Hello World"
?>


Si?
Well if you wanna nitpick, NO that won't work :lol:
You forgot the all inportant ;
That's incorrect... I just tried it on my 1and1.com account. It works.

:wink:
Intrigued - Registered PureBasic, lifetime updates user
Post Reply