[Prev][Next][Index][Thread]

# Re: hey, where did my `else' go?

- Date: Thu, 18 Apr 1996 23:03:23 PDT
- From:
- cc: MOO-Cows.PARC@xerox.com
- In-Reply-to: "Seth I. Rich's message of \"Thu, 18 Apr 1996 20:07:03 PDT\" <199604190307.XAA23042@kanga.INS.CWRU.Edu>"

    Seth I. Rich writes:
    >   if (...)
    >     (do stuff)
    >   else
    >   endif;
    >
    > But after I compiled it (no problems), I listed the code and my `else'
    > is gone!

    As it happens, the generated code for this is identical to that generated for
    the same thing without the `else'.  Thus, the information that the `else' was
    ever there has been completely lost and cannot be regenerated from nothing
    during unparsing.  I agree that this is a bit of a shame, since the MOO doesn't
    preserve your source code for you, but that's just the way it is... :-/

    	Pavel

References:

- hey, where did my `else' go?

- From: sir@po.cwru.edu (Seth I. Rich)

- Prev: Re: hey, where did my `else' go?
- Next: The IART MOOnument: Pueblo Enhancing a MOO
- Index: MOO-cows
- Thread: MOO-cows

Home | Subject Index | Thread Index