[DGD] boolean integers: mudos vs dgd

Felix A. Croes felix at dworkin.nl
Sun Apr 21 13:11:02 CEST 2013


Raymond Jennings <shentino at gmail.com> wrote:

> A friend of mine (blain) reports that the expression (5 || 3) returns 5,
> and the expression (3 || 5) returns 3, whereas dgd returns 1 for both of
> them.

It's 1 in C.  || evaluates to a boolean value.


> First of all, any major reason for the difference?

Who knows what the reason might be?  It's MudOS, not DGD, which has some
explaining to do.

Regards,
Felix Croes



More information about the DGD mailing list