Re: Inform: Huge oversight in compiler


Sun, 10 Dec 1995 13:02:17 +0100

"Sam Hulick" (shulick@guava.ucs.indiana.edu) wrote:
> However, this makes a turn pass, and you cannot use "meta" with
> "Extend". If I am wrong about this, then foot-in-mouth, but I looked
> through the manual, tried every combination using extend and meta, and
> nothing worked. So is there a way to "unpass" time within the
> BlahblahSub?

I think you're right, and you can't use meta with #EXTEND (which could be
annoying but doesn't quite qualify as a "huge oversight").

Couldn't you just decrement the turns counter at the beginning of
BlahblahSub() like `turns--;' (or a slightly more complex sequence if you're
using time -- look at the EndTurnSequence() routine in parser.h, and reverse
it). No, hang on, this would still have all the other effects of a turn
passing (i.e., daemons, timers, and each_turns would still be run). Maybe
setting `meta=1;' at the beginning of BlahblahSub() would do it (or is the
meta variable checked before BlahblahSub is called?).

-- 
Jools Arnold                                          jools@arnod.demon.co.uk