Re: Inform: How to make a function optional?


22 Nov 1995 13:13:41 GMT

In article RAA06824@kiwi.ucs.indiana.edu, "Sam Hulick" <shulick@kiwi.ucs.indiana.edu> writes:
>svanegmo@undergrad.math.uwaterloo.ca (Stephen van Egmond) writes:
>>In article <199511201956.OAA11920@papaya.ucs.indiana.edu>,
>>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?
>>
>>Grepping through my text copy. :) I find the following:
>[stuff]

You should define the CreditRoutine() first, and use #Stub afterwards.

Bjorn Gustavsson