MathGroup Archive 1996

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

Search the Archive

RunThrough[] command

  • To: mathgroup at
  • Subject: [mg3489] RunThrough[] command
  • From: mhsmith at (Matt Smith)
  • Date: Sat, 16 Mar 1996 22:40:21 -0500
  • Organization: HiWAAY Information Services
  • Sender: owner-wri-mathgroup at


We're running mma 2.2.3 under Windows 3.11 and would very much like to
use the RunThrough[] command to collect the output from some old DOS
software we wrote.  The program prints a list of 256 numbers to the
screen and we want to read that into the mma list.  The software is
_not_ witten in C, and we definately don't want to have to rewrite it
in order to use Math Link.

Anyways, neither RunThrough[] not Run[] seem to do what I think they
should do.  As an example, I wrote a one-line DOS program TEMP.EXE
which simply prints the number 169 to the screen.  From within mma, I
enter Run[c:\\temp.exe] which returns a value of 33?  What's going on

Also, RunThrough[] requires two arguments, RunThrough["command",expr].
Is this equivalent to typing:

    command expr


    command /expr


    command [return]
    expr [return]

at the DOS prompt?  

If anyone has any ideas I'ld sure love to here them!

Matt Smith
mhsmith at

"If you don't know the right hand rule, you don't know SQUAT!"
	- Matt, guitar-playing, physicist, harbinger of death


  • Prev by Date: Re: Win 95 and input boxes
  • Next by Date: Re: Re-evaluation of Conditional expressions
  • Previous by thread: Comparison of Mathematica on Various Computers
  • Next by thread: More on functions & derivatives