[DGD] Making my own function types

Felix A. Croes felix at dworkin.nl
Wed Aug 25 14:46:28 CEST 2004


"Ludvig Lejon" <ludde at lejon.biz> wrote:

> This may sound quite odd and I don't know if it's possible to do. I want to
> create a new function type, like "static", "atomic"...
> For example:
> newtype string function() {
> return "hello";
> }
> And I also want to be able to query what type a function is.
> Is this possible to do? Can I code it in LPC or do I have to edit the dgd
> source?

You'd have to change the DGD source code to implement this.

Regards,
Dworkin
_________________________________________________________________
List config page:  http://list.imaginary.com/mailman/listinfo/dgd



More information about the DGD mailing list