Path: utzoo!attcan!uunet!lll-winken!ncis.tis.llnl.gov!helios.ee.lbl.gov!pasteur!ucbvax!NORUNIX.BITNET!knut-skog%rglab.uit.uninett From: knut-skog%rglab.uit.uninett@NORUNIX.BITNET (Knut Skog) Newsgroups: comp.windows.news Subject: Surprising NeWS - feature Message-ID: <117*knut-skog@rglab.uit.uninett> Date: 20 May 89 01:24:06 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 29 Have a look at this reprint of a small session with NeWS. " NeWS> /y 5 def NeWS> createevent begin /y 2 store end y = 2 % OK NeWS> /z 5 def NeWS> createevent begin z = 5 % OK NeWS> /z 2 def end NeWS> createevent begin /z 2 store end z = 5 % ???????? NeWS> " Can anybody tell me why the createevent operator is effected by my careless def-ing of z into the eventdict. I expected to get a 'dictfull' message. However, it looks as if the defing effects the uninitiated eventdict so that all later eventdicts created now has the this z-field. This will last until the server is reinitiated (I think). It is easy to make a def where you mean store. If this happens when the current dict is an event dictionary the side-effect is rather surprising. I'm grateful if some of you would comment on this feature. I myselfe tend to believe that it is a bug. Krg, Knut