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)?