Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2008

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Stacked Definitions

  • To: mathgroup at smc.vnet.net
  • Subject: [mg93571] Re: Stacked Definitions
  • From: David Bailey <dave at removedbailey.co.uk>
  • Date: Sat, 15 Nov 2008 06:02:57 -0500 (EST)
  • References: <gfimim$g0o$1@smc.vnet.net>

Nikolaus Rath wrote:
> Hello,
> 
> If I make a definition of the form
> 
> temp[42][3] = 7
> 
> where is this rule stored? I would have expected it to be in
> DownValues[temp] or DownValues[temp[42]], but the first list is empty
> and the second gives a syntax error.
> 
> 
It would seem that it is stored in SubValues[temp]

David Bailey
http://www.dbaileyconsultancy.co.uk


  • Prev by Date: Re: Re: Unacceptable bug in Mathematica
  • Next by Date: Re: Minimize
  • Previous by thread: Re: Stacked Definitions
  • Next by thread: seperate complex number