MathGroup Archive 2011

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

Search the Archive

Re: original meaning of System` functions


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.



  • Prev by Date: Re: about the use of button
  • Next by Date: Re: Summed Area Table / Integral Image
  • Previous by thread: Re: original meaning of System` functions
  • Next by thread: Re: original meaning of System` functions