Delight
Bill Baxter
wbaxter at gmail.com
Thu Sep 25 12:42:55 PDT 2008
On Fri, Sep 26, 2008 at 4:33 AM, bearophile <bearophileHUGS at lycos.com>wrote:
> 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.
>
That surprised me too. He's probably been drinking too much OO/Java
kool-aid.
--bb
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-announce/attachments/20080926/dddf4c1b/attachment-0001.htm>
More information about the Digitalmars-d-announce
mailing list