Re: can e do this?
"Mark Miller" <[email protected]>
| Newsgroups | gmane.comp.lang.e.general |
|---|---|
| Message-ID | <[email protected]> |
On Sun, Apr 6, 2008 at 12:26 AM, John Carlson <[email protected]> wrote: > In E, can you write something like this? > > if (the next expression is true) then { > the previous expression is false > } > > How? I would expect it to go into some kind of infinite loop, or > throw an exception. Not in this way. But the Datalock example in section 16.3 (p119) of my thesis may be close enough. It becomes stuck, but neither with an infinite loop nor with an exception. -- Text by me above is hereby placed in the public domain Cheers, --MarkM