MathGroup Archive 2010

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

Search the Archive

Re: SetAttributes for entire package

This would be quite simple if SetAttrubutes accepted string
arguments.  If it did then you could simply execute

SetAttributes[#,{Locked, ReadProtected}]&[Names["mycontext`*]]

where mycontext is your package context.  Howe er SetAttributes does
not work this way (but it should...).

So one has to work around this.  I had to do this years ago when
creating a password protection scheme for

  • Prev by Date: TeXForm in 7.0.0
  • Next by Date: FindRoot with NDSolve inside of it doesn't work
  • Previous by thread: SetAttributes for entire package
  • Next by thread: Re: SetAttributes for entire package