Hello, World! in Limbo
Example for versions
Inferno Limbo 20100115
implement Hello;
include "sys.m";
sys: Sys;
include "draw.m";
Hello: module {
init: fn(nil: ref Draw->Context, argv: list of string);
};
init(nil: ref Draw->Context, argv: list of string)
{
sys = load Sys Sys->PATH;
sys->print("Hello, World!\n");
}
Comments
]]>blog comments powered by Disqus
]]>