Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2006
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2006

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

Search the Archive

Re: stytax error

  • To: mathgroup at smc.vnet.net
  • Subject: [mg66608] Re: stytax error
  • From: "Chris Chiasson" <chris at chiasson.name>
  • Date: Mon, 22 May 2006 18:15:02 -0400 (EDT)
  • References: <acbec1a40605191602v15ff0997p6372713ba508872d@mail.gmail.com>
  • Sender: owner-wri-mathgroup at wolfram.com

Update:
This only happens when loading the package with my Linux kernel.

On 5/19/06, Chris Chiasson <chris at chiasson.name> wrote:
> Hello,
> On loading a package file, Mathematica says it finds a syntax error on
> a certain line number (which I have located in emacs).
>
> Here is the relevant code snippet:
>
> Module[{stdexitout, xtemp}, stdexitout = {x, f, oldxL,
>     oldfL, xL, fL, xU, fU, xmax, evalcount, evallimit, tol};
>     Which[fU ? fL, stdexitout, xU == xmax,
>         Message[MessageName[FindUnimodalMinimum, "unbound"]];
>         stdexitout, evalcount ?
>     evallimit, Message[MessageName[FindUnimodalMinimum, "
>       evallimit"]]; stdexitout, True, xtemp = Min[(1 + a) xU - a xL, xmax];
>       boundunimodaldecision[x, f,
>           xL, fL, xU, fU, xtemp, ReplaceAll[f, Rule[x, xtemp]], xmax, \
> evalcount + 1, evallimit, tol]]];
>
> In the package file, the indicated line (on or before where the syntax
> error occurrs, according to Mathematica) includes the following code:
> Message[MessageName[FindUnimodalMinimum,"evallimit"]];stdexitout,True,
>
> The entire module statement is correct syntax, or at least it
> evaluates without errors when executed in a notebook.
>
> What, if anything, should I do about this?
>
> Thanks,
> --
> http://chris.chiasson.name/
>


-- 
http://chris.chiasson.name/


  • Prev by Date: Re: Simplification and Arg[]
  • Next by Date: Re: Simplification and Arg[]
  • Previous by thread: stytax error
  • Next by thread: Re: stytax error