Re: scan...a;l lmost there

jelson@blaze.cs.jhu.edu
Date: 03/18/94


Let me explain yet again how real_room() works.

real_room takes an integer as an argument, and returns an integer.

You give it the _virtual_number_ of a room, and it returns the _real_
number.  It's that easy.

Keeping that in mind, both of these statements do not make sense:

>        room = real_room(ch->in_room);

ch->in_room is already a real number.  Not a virtual number.  This doesn't
make sense.

>       (real_room(exitp->to_room)) &&

real_room() does not return a boolean value.  This doesn't make sense.

-je



This archive was generated by hypermail 2b30 : 12/07/00 PST