Welcome back Ulbster Journal readers. Once again its time to dust off your keyboards, switch on your CPU's and get back to some extreme programming with me. Actually I just reused some old code to produce this weeks column, I've changed the name though and just picked any old text at random for my display variables. Believe it or not these completely different programs all produce a very similar result!!!
Java
String message = new String( "Naomi is a geek" );
System.out.println( message );
Perl
$message = "Naomi is a geek\n";
print $message;
Python
message = "Naomi is a geek"
print message
REBOL
message: "Naomi is a geek"
print message
Scheme
(define message "Naomi is a geek\n")
(display message)
Thursday, March 15, 2007
30 PRINT "MARCUS' PROGRAMMING TIPS"
Posted by ie churnal at 8:32 pm
Labels: marcus, programming
Subscribe to:
Post Comments (Atom)
2 comments:
BASIC
10 PRINT "MARCUS IS A GEEK"
20 GOTO 10
RUN
FLASH
var txt_output:TextField = new Textfield();
txt_output.text = "I'm not, I'm not, I'm not ... Marcus is the geek!!!!";
Post a Comment