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

MathGroup Archive 2013

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

Search the Archive

Unprotect[] Protect[] redefining builtin but keep original available

  • To: mathgroup at smc.vnet.net
  • Subject: [mg131503] Unprotect[] Protect[] redefining builtin but keep original available
  • From: roby <roby.nowak at gmail.com>
  • Date: Tue, 13 Aug 2013 03:59:37 -0400 (EDT)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • Delivered-to: l-mathgroup@wolfram.com
  • Delivered-to: mathgroup-outx@smc.vnet.net
  • Delivered-to: mathgroup-newsendx@smc.vnet.net

Dear Group

Is it in general possible to redefine mathematica builtins but still call the original function from within (but not only from there) the redefinition ?

In particular I would like to overload a builtin (distinguished by an additional Option additionalopt->o) and keep the possibility to call the original (distinguished by omitting the additional Option or
by setting additionalopt->None)

Regards Robert



  • Prev by Date: Re: ListVectorPlot[ ] absolute, definite vector length
  • Next by Date: Re: redefining builtin but keep original available
  • Previous by thread: Re: How to import a mp4 file on Mathematica
  • Next by thread: Re: redefining builtin but keep original available