Re: Inform: How to make a drink retusable after having been drank?
09 Sep 1995 20:45:47 GMT
In article <GDR11.95Sep9140551@stint.cl.cam.ac.uk> gdr11@cl.cam.ac.uk (Gareth Rees) writes:
> See page 71 of the Inform manual (and probably elsewhere too): "A string
> on it's own, such as
> "You drink the mead. Yum.";
> is printed. with a new-line, and the current routine is returned from
> with return value `true'..."
Yes, and this trips me up so frequently that I'm probably going to hack Inform
to not accept that syntax, but to require a print, and to automatically merge
a following return true statement if present.
It won't be compatible with the rest of the world's Inform code, but I think
I can live with that.
Cheers,
Eric