Re: With[{software=Mathematica}, Frustration]
- To: mathgroup at smc.vnet.net
- Subject: [mg24372] Re: [mg24308] With[{software=Mathematica}, Frustration]
- From: Andrzej Kozlowski <andrzej at tuins.ac.jp>
- Date: Wed, 12 Jul 2000 23:13:13 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
You are right of course. It was a case of inexplicable blindness (and c wasn't even a local variable!). This should teach me to think before sending my replies! Andrzej on 7/10/00 11:41 AM, Leszek Sczaniecki at lsczan at home.com wrote: >> The point here is that With works like Module: it renames the variables (a >> way of localizing their meaning). Thus the c outside With and the one inside >> are quite different. -- Andrzej Kozlowski Toyama International University JAPAN http://platon.c.u-tokyo.ac.jp/andrzej/ http://sigma.tuins.ac.jp/ > I am afraid that you are not quite right here. The true reason for the > discussed > behavior is, I believe, that Which has an attribute HoldAll. > > Best regards, > > --Leszek >