For everything that's not in any way related to PureBasic. General chat etc...
thefool
Always Here
Posts: 5875 Joined: Sat Aug 30, 2003 5:58 pm
Location: Denmark
Post
by thefool » Thu Jan 26, 2006 7:12 pm
flaith
Enthusiast
Posts: 704 Joined: Mon Apr 25, 2005 9:28 pm
Location: $300:20 58 FC 60 - Rennes
Contact:
Post
by flaith » Thu Jan 26, 2006 8:11 pm
“Fear is a reaction. Courage is a decision.” - WC
Trond
Always Here
Posts: 7446 Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway
Post
by Trond » Thu Jan 26, 2006 9:24 pm
Has anyone ever tried to make something useful in Malbolge?
Rescator
Addict
Posts: 1769 Joined: Sat Feb 19, 2005 5:05 pm
Location: Norway
Post
by Rescator » Thu Jan 26, 2006 9:40 pm
Hello World! In English:
Hello world!
That proves English is the most simple programming language there is.
Rescator
Addict
Posts: 1769 Joined: Sat Feb 19, 2005 5:05 pm
Location: Norway
Post
by Rescator » Thu Jan 26, 2006 9:43 pm
Actualy, PHP is that simple!
Make a .php file call it hello.php
Then enter this in it:
Run the script!
GeoTrail
Addict
Posts: 2794 Joined: Fri Feb 13, 2004 12:45 am
Location: Bergen, Norway
Contact:
Post
by GeoTrail » Thu Jan 26, 2006 10:59 pm
Rescator wrote: Actualy, PHP is that simple!
Make a .php file call it hello.php
Then enter this in it:
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
Posts: 5875 Joined: Sat Aug 30, 2003 5:58 pm
Location: Denmark
Post
by thefool » Thu Jan 26, 2006 11:04 pm
Dare2
Moderator
Posts: 3321 Joined: Sat Dec 27, 2003 3:55 am
Location: Great Southern Land
Post
by Dare2 » Thu Jan 26, 2006 11:14 pm
BasicA
? "Hello World"
@}--`--,-- A rose by any other name ..
Rescator
Addict
Posts: 1769 Joined: Sat Feb 19, 2005 5:05 pm
Location: Norway
Post
by Rescator » Fri Jan 27, 2006 1:51 am
GeoTrail wrote: Rescator wrote: Actualy, PHP is that simple!
Make a .php file call it hello.php
Then enter this in it:
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!"
(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
Posts: 997 Joined: Sat Sep 24, 2005 2:08 pm
Post
by josku_x » Fri Jan 27, 2006 10:35 am
hehe. Actually HTML is the easiest one!
Either you put Hello World! like this:
or:
But there are some cool ones even if they're hard to understand, like Chef... etc..
Intrigued
Enthusiast
Posts: 501 Joined: Thu Jun 02, 2005 3:55 am
Location: U.S.A.
Post
by Intrigued » Sat Jan 28, 2006 12:27 am
GeoTrail wrote: Rescator wrote: Actualy, PHP is that simple!
Make a .php file call it hello.php
Then enter this in it:
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
GeoTrail
Addict
Posts: 2794 Joined: Fri Feb 13, 2004 12:45 am
Location: Bergen, Norway
Contact:
Post
by GeoTrail » Sat Jan 28, 2006 1:09 am
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
You forgot the all inportant ;
I Stepped On A Cornflake!!! Now I'm A Cereal Killer!
Intrigued
Enthusiast
Posts: 501 Joined: Thu Jun 02, 2005 3:55 am
Location: U.S.A.
Post
by Intrigued » Sat Jan 28, 2006 3:48 am
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
You forgot the all inportant ;
That's incorrect... I just tried it on my 1and1.com account. It works.
Intrigued - Registered PureBasic, lifetime updates user