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...