Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.math.mathematica

Topic: Unprotect[] Protect[] redefining builtin but keep original available
Replies: 2   Last Post: Sep 3, 2013 11:32 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
roby.nowak@gmail.com

Posts: 87
Registered: 5/8/07
Unprotect[] Protect[] redefining builtin but keep original available
Posted: Aug 13, 2013 3:56 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

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




Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.