Re: Inform problem "Bad optional num"


29 Oct 1995 09:45:09 GMT

"Sam Hulick" <shulick@guava.ucs.indiana.edu> wrote:
> Ok, this is not cool.. now I can't even play-test my own Inform games
> with the Amiga 'Infocom' interp!! It says 'Bad optional num' all over
> the place when I move around, take items, etc. Something in library
> 5/12 is funky. What is it?

A routine is being called with more arguments than that routine has
parameters. The Z-machine specification allows this, and I am told that
some later Infocom games do this, so it's definitely a bug in ITF.

To stop the ITF interpreter complaining, figure out which routine is at
fault (use the -g option to get function tracing) and give it some extra
parameters. But better would be to get the ITF interpreter fixed.

--
Gareth Rees