You are not logged in (login or register) Sitemap | Help!

Hello (Virtual) World!

...a time honoured tradition maintained at Maxping

Link

This isn't really an article at all - I'm just testing support for code snippets for the resources section

Thanks for reading - but of course this article isn't really going to tell you much - I'm just testing out code snippets for articles and tutorials that will slowly start to fill up our Resources section.

If you have written a tutorial on well anything really that can be implemented in open grids then send it on over and we'll publish for you. You will be rewarded with that warm fuzzy feeling that you have given something back to the community :)

If you like saying hello to the world, then Wolfram Rösler has compiled probably the most extensive list of this pointless, but strangely compelling little program.

Here is "Hello World" in LSL

default
{
    state_entry()
    {
        llSay(0, "Hello World");
    }
}

And here is "Hello World" in C#

using System;

class HelloWorld
{
    public static int Main(String[] args)
    {
        Console.WriteLine("Hello World!");
        return 0;
    }
}

Er... that's all folks :)

Well except that in theory you should be able to now cut and paste that code into an editor and it will retain it's formatting...

Article tagged: hello world


4 comment(s) for “Hello world”


Gravatar of The World The World said on Monday, April 27, 2009 (2:26:45 AM)
Hello... do I know you?
Gravatar of confused packet confused packet said on Monday, April 27, 2009 (8:21:26 AM)
back in those days - i learned:

: HELLO
." Hello World!" CR
;
Gravatar of SP SP said on Monday, April 27, 2009 (11:51:43 PM)
Actually it's not really a pointless program at all - it does something very useful indeed - it tells you if something basic is working or not before you try doing anything else. I've used variations of Hello World billions of times - (largely because my code is so rubbish that it never works.)
Gravatar of PocoLoco GuessWho PocoLoco GuessWho said on Saturday, May 02, 2009 (5:18:16 PM)
Hi World!

Can U hear me now?