Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2008

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

Search the Archive

Re: command line options: -initfile vs -run

  • To: mathgroup at smc.vnet.net
  • Subject: [mg92516] Re: command line options: -initfile vs -run
  • From: dreeves <dreeves at gmail.com>
  • Date: Thu, 2 Oct 2008 04:36:51 -0400 (EDT)
  • References: <gbt2u5$lgk$1@smc.vnet.net>

I'm finding that the -initfile approach has problems if foo.m contains
code that tries to read other files.  I don't understand what's going
on yet though.  For now I'm just sticking with -run.
If anyone can shed light on this, I'd appreciate it.  I'm thinking it
may point toward a subtle mathematica bug.

> Is there any difference at all between
>
>     -run "<<foo.m"
>
> and
>
>     -initfile "foo.m"
>
> ?
>
> Thanks!
>
> (For those curious, I ask because of this:
>  http://forums.wolfram.com/mathgroup/archive/2008/Aug/msg00654.html
> )



  • Prev by Date: Re: Variable question
  • Next by Date: Re: Variable question
  • Previous by thread: Re: Real and Complex Roots presented in a single plot
  • Next by thread: how to get rid extra parentheses ?