MathGroup Archive 2004

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

Search the Archive

Re: Streaming input (with Linux)

  • To: mathgroup at smc.vnet.net
  • Subject: [mg46401] Re: Streaming input (with Linux)
  • From: Harold.Noffke at wpafb.af.mil (Harold Noffke)
  • Date: Mon, 16 Feb 2004 23:43:30 -0500 (EST)
  • References: <c0qj1i$k7n$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Alessandro:

You appear to want to run the kernel, rather than run Mathematica from
a notebook interface.  This is what the command "!math" does when you
type it into a notebook.  If this is the case, you cannot execute a
function this way, as pointed out in "System-Specific Information >
Special Ways to Run the Kernel" ...

	"To run the kernel from a command line: Type math at a command line
and then press \[EnterKey] to start the kernel. All Mathematica input
and output will appear in the command-line window."
	
So if you want to type "math" first, you can rewrite your my_script.m
package as a multiparamater function, such as myScript[ par1_, par2_,
par3_ ], and execute it with the kernel after you have typed "math".

I hope I understood your question correctly.

Regards,
Harold


  • Prev by Date: Re: matrix operations
  • Next by Date: Re: No Output, No Error
  • Previous by thread: Re: Streaming input (with Linux)
  • Next by thread: Bloomberg and Mathematica