MathGroup Archive 2000

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

Search the Archive

Defining an UpValue for a specific List?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg23153] Defining an UpValue for a specific List?
  • From: Claudius Schnorr <schnoerr at mailzone.com>
  • Date: Thu, 20 Apr 2000 03:21:20 -0400 (EDT)
  • Organization: T-Online
  • Sender: owner-wri-mathgroup at wolfram.com

Hello, 

I would like to make the following definition:

df[[a_, b_]] ^:= DFPart[df, a_, b_]
 
where df is a list of three components.

I get the folowing error:

UpSetDelayed::write: Tag List in {<<l>>}[[a_,b_]] is Protected.

Is there a possibility to redefine Part[] for some symbols?

Please email directly to
        schnoerr at mailzone.com

Thank you very much!

Claudius

-- 
----------------------------------------------------------------
Dr.-Ing. Claudius Schn"orr        Tel: ++49-(0)211-5591570
Sigmaringenstr. 2
40547 D"usseldorf / Germany       e-mail: schnoerr at mailzone.com
----------------------------------------------------------------


  • Prev by Date: Remote kernel with ssh
  • Next by Date: Re: Keyboard shortcuts do not work
  • Previous by thread: Re: Remote kernel with ssh
  • Next by thread: Re: Defining an UpValue for a specific List?