# hey, where did my `else' go?

Pavel Curtis (pavel@parc.xerox.com)
Thu, 18 Apr 1996 23:03:23 PDT

- Messages sorted by:[ date ][ thread ][ subject ][ author ]

    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