MathGroup Archive 2003

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

Search the Archive

Mathematica 5.0 "RunThrough" Command

  • To: mathgroup at smc.vnet.net
  • Subject: [mg45322] Mathematica 5.0 "RunThrough" Command
  • From: Harold.Noffke at wpafb.af.mil (Harold Noffke)
  • Date: Tue, 30 Dec 2003 04:14:27 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

Hello.

The Mathematica 5.0 "RunThrough" documentation states ...

--------------------------------------------------------------------------------

The function RunThrough writes the text of an expression to a
temporary file, then feeds this file as input to an external program,
and captures the output as input to Mathematica.

This feeds the expression 789 to the external program cat, which in
this case simply echoes the text of the expression. The output from
cat is then read back into Mathematica.

In[5]:= RunThrough["cat", 789]
Out[5]= 789

--------------------------------------------------------------------------------

When I launch MATH.EXE on my Windows 2000 PC, some syntax errors occur
which I do not know how to correct.  The file INIT.M is in my
Mathematica home directory.


Mathematica 5.0 for Microsoft Windows
Copyright 1988-2003 Wolfram Research, Inc.
 -- Terminal graphics initialized --

In[1]:= RunThrough["type", "init.m"]
The syntax of the command is incorrect.

In[2]:= RunThrough["type", init.m]
The syntax of the command is incorrect.

In[3]:=


Does anyone have advice on using "RunThrough", "Run", or "!" in a DOS
window (MATH.EXE), or in the Mathematica Terminal Emulator Window
(MATHKERNEL.EXE)?


  • Prev by Date: Re: colorfunction with scatterplot3d?
  • Next by Date: Re: [RE] Can someone tell me why NDsolve isn't working here?
  • Previous by thread: System Dynamics
  • Next by thread: Data Plotting With Less Typing