MOO-cows Mailing List Archive
Why #1 is false?
Date: Mon, 23 Dec 1996 07:14:30 PST
From: "Antonio Martos" <email@example.com>
Content-Type: text/plain; charset=ISO-8859-1
I was coding something like:
player:tell("I can not see that here.");
And I was surprised by the fact that it allways tells "I can not see that
I found at Pavel's Manual that: "all objects numbers are false" (4.1.6)
;!#-1 -> 1
;!#0 -> 1
;!#1 -> 1
Why is this?
I think it is more logical to be false for (#0 ?), #-1, #-2, #-3 and true
for any positive object, do not?
Or maybe to work like valid() ?
Just pure curiosity, but why is this done on this way?
Subject Index |