Re: original meaning of System` functions
- To: mathgroup at smc.vnet.net
- Subject: [mg115393] Re: original meaning of System` functions
- From: Bill Rowe <readnews at sbcglobal.net>
- Date: Mon, 10 Jan 2011 02:35:50 -0500 (EST)
On 1/9/11 at 2:20 AM, hemmecke at gmail.com (hemmecke) wrote: >Or is there a reliable way to hide the source code of a package? >Suppose someone has redefined >Unprotect[SetAttributes]; SetAttributes[_,_]:={} >Attributes[SetAttributes] = {Protected, Locked} >before loading the package code. The source code would be available >just by typing >??F >where F is an exported function of the package. It is possible to distribute Mathematica code so that the source code cannot be accessed in any meaningful way and be usable within Mathematica. Take a look at ReadProtected and Encode.