MathGroup Archive 2010

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

Search the Archive

Re: Packages designed for use in player pro

  • To: mathgroup at smc.vnet.net
  • Subject: [mg111430] Re: Packages designed for use in player pro
  • From: Nate Dudenhoeffer <dudenhoeffer at wisc.edu>
  • Date: Sun, 1 Aug 2010 04:56:26 -0400 (EDT)

Thanks for the suggestions.  This is working fine now.  I had erroneously
saves the files as .mx after encoding, which needless to say didn't work.

Nate

On Sat, Jul 31, 2010 at 1:39 AM, David Bailey <dave at removedbailey.co.uk>wrote:

> On 27/07/10 12:53, Nate Dudenhoeffer wrote:
> > What is the correct syntax to use for a BeginPackage statement for a
> package
> > which is to be deployed in player pro?
> >
> > For a standard package I use BeginPackage["toplevel`",
> > {"anotherpackage`","anotherpackage2`", "lanotherpackage3`"}],
> > which requires that the packages all be somewhere on the $Path variable,
> and
> > be saved as *.m.  The problem I have is once they have been saved using
> > Encode[], I am no longer able to load them with this syntax.
> >
> > Thanks,
> > Nate
> >
> You use the standard package syntax, but you must encode the package
> with Encode for use with PlayerPro - otherwise it will just fail to load!
>
> David Bailey
>
> http://www.dbaileyconsultancy.co.uk
>
>


  • Prev by Date: Re: assuming certain properties about variables
  • Next by Date: A question about string patterns
  • Previous by thread: Re: assuming certain properties about variables
  • Next by thread: A question about string patterns