You are not logged in.
Pages: 1
Topic closed
Well I though about trying programming languages as a means for communication...
Anyway, if anyone is interested, please participate in the thread, using whatever language you are comfortable with, as long as its a pretty common language that could be widely understood. (so please avoid cobol, LISP, assebly...)
So anyway ill start here (with php)... but you can pick the variables and reuse them in another language.
<?php
var $topic;
?>
<?php
$topic = 'Communication through programming languages...''
echo 'this ' . $topic . ' is interesting';
?>
Haven't been posting for a while, but always checkin the forum. So hello again everyone.
I thought i would post somethin here.
Pascal
....
Var I : Integer;
Const
PWPIF = 'Programming With Pascal Is Fun';
function GetTopicVar : String
begin
Result := String(pointer(Post1.Topic));
end;
For I := 0 to Length(GetTopicVar) - 1 do
begin
WriteLn(Copy(GetTopicVar,0,I));
end;
WriteLn(PWPIF);
....
Last edited by mrmat (August 31 2009)
Despite the many Java haters around the site :/
import lebGeeks.topic.*;
public class {
public static void main(String args[]){
String page = "http://www.lebgeeks.com/forums/viewtopic.php?id=5526";
topicReply myReply = new topicReply(page,AymanFarhat);
myReply.setText(myReply.getTopicTitle() + " is very interesting indeed, especially in OOP languages!");
myReply.addEmoticon(smile);
}
}
Last edited by Ayman (September 2 2009)
Declare @l1 as liquid
Declare @l2 as liquid
Select @l1 = molecules from juice where juiceid = rand(convert(int, rand() * 100 ) + 1
Select @l2 = molecules from alcohol where alcoholid = rand(convert(int, rand() * 100) + 1
-- cheers guys
Exec drink(@l1 , @l2)
Exec sing(cheer)
PRINT 'hic'
Last edited by mir (September 2 2009)
Uses
System, ...., uJavaHater
...........
function FindJavaPost : TJavaPost;
begin
Result := uJavaHater.FindJavaPostToDestroy(this);
end;
procedure Start;
Var
JavaPost : TJavaPost;
begin
JavaPost := FindJavaPost;
JavaPost.ReplaceText('especially in OOP languages','without Java of course !!!');
JavaPost.Emotions[0].ChangeTo(angry);
end;
Start;
......
Last edited by mrmat (September 2 2009)
Ever heard of the BrainFuck?
+++ +++ +++ +
[
> +++ +++ +
> +++ +++ +++ +
> +++
> +
<<< < -
]
>---.
>++++.
---.
.
+++++++++++++.
+.
>+++.
.
You can download the interpreter to see the output of my program http://4mhz.de/bfdev.html fun language, enjoy
@rolf, sorry for violating the topic rules(posting a language that is not commonly understood, in other words very weird) but I just couldn't resist the temptation :rolleyes:
Last edited by Ayman (September 2 2009)
Actually its very well named . BRAINFUCK
Last edited by mrmat (September 2 2009)
HAI
CAN HAS STDIO?
PLZ OPEN FILE "TOPIC.TXT"?
AWSUM THX
VISIBLE FILE
O NOES
INVISIBLE "ERR000R!"
KTHXBYE
Pages: 1
Topic closed