Delight

bearophile bearophileHUGS at lycos.com
Thu Sep 25 12:33:15 PDT 2008


Yigal Chripun:
> From what I understood, global functions are allowed.

This is the (not nice to me) hello world:

import dlt.io

class Main:
	void main(Printer stdout):
		stdout("Hello World!\n")


So I presume you need a least one class into your code.

Bye,
bearophile


More information about the Digitalmars-d-announce mailing list