code: 9ferno

ref: 5f06f20aeb34618e7f059aa21c6432972121b972
dir: /opt/misc/appl/hello.b/

View raw version
implement Hello;

include "sys.m";
	sys: Sys;
include "draw.m";

Hello: module {
	init:
	fn(ctxt: ref Draw->Context, argv: list of string);
};

init(ctxt : ref Draw->Context, argv: list of string) {
	sys = load Sys Sys->PATH;
	sys->print("Hello World!\n");
}