Re: External Program
- From: "Les" <l.neilson@xxxxxxxxxxxxxxxxxx>
- Date: Mon, 5 Sep 2005 15:52:18 +0100
"Borg" <nospam@xxxxxxxxx> wrote in message
news:431c4fc2$0$8500$5fc30a8@xxxxxxxxxxxxxxxxxx
> Hi,
> I'ha a simulation program in fortran 77.
> I want to call that program into another program.
> Is this possible?
> If yes, how?
>
>
> P
>
> --
In very simplistic terms you could -
(a) use a batch file (if your system provides such a mechanism) to first run
your new program and then run the simulation program.
(b) find from the documentation of your compiler how to run external
executables; for example
CALL SYSTEM(command_line)
or CALL SYSTEMQQ(command_line)
or IVALUE = SYSCALL(command_line)
or .......
where "command_line" contains the command(s) for running the simulation
program.
The name and format is compiler dependent.
Les
.
- References:
- External Program
- From: Borg
- External Program
- Prev by Date: Re: External Program
- Next by Date: Re: redirect g77 output into a file under windows xp
- Previous by thread: Re: External Program
- Next by thread: redirect g77 output into a file under windows xp
- Index(es):
Relevant Pages
|