Inform coding problem


5 Jun 95 09:26:58 GMT

Hi out there. I have what is probably a really simple coding problem,
I hope some wizard out there can provide me with a speedy solution.

Behold:

Class Stairwell
with description [;
print "The grey, cold, bleak, featureless, echoing stairwell \
is one of the infamous design ~features~ of the CS department. The \
stairs lead ";
if ((self.u_to) && (return self.d_to)) print "up and down";
{ if (self.u_to) print "up";
if (self.d_to) print "down";}
print ", and there is a door to the ";
if (self.e_to) "east."; "west.";], has light;

Hopefully the point of this should be fairly obvious. I just need
to check if the properties u_to, d_to, etc. have some value set.
I thought this was in the manual somewhere, but I can't seem to
find it.

any help appreciated,

Pete.