Re: Inform: Disappointment in new manual


21 Nov 1995 22:55:35 GMT

Sam Hulick (shulick@papaya.ucs.indiana.edu) wrote:
: Looking through the new manual, I figure I'd find something about #Stub,
: but I didn't. How does it work? Why is it that when I do this:

: #Stub CreditRoutine 0;

: then I define CreditRoutine() later, it complains about it being
: multiply defined?? What does the number mean after the routine name?

I think you have to put the #stub directive at the end of the file. It
sees that CreditRoutine is not defined, and defines it. When you define
it again, it complains about multiple definition. The number is how many
arguments the function takes.