From: "Nasser M. Abbasi" <nma@12000.org>
Subject: Re: Running programs using ADA
Date: Fri, 30 Nov 2012 02:00:07 -0600
Date: 2012-11-30T02:00:07-06:00 [thread overview]
Message-ID: <k99p2b$4k1$1@speranza.aioe.org> (raw)
In-Reply-To: bf847917-09d2-42c2-a848-39f6036ad20d@y6g2000vbb.googlegroups.com
On 11/30/2012 1:56 AM, Hans Vlems wrote:
> than C so I hope that ADA may help me here. More specifically: does
> ADA have support for a function similar to C's system()?
>
> Example:
>
> int main(void)
> {
> int retval;
> retval=system("copy h:\*.* g:\");
> printf("return value %d\n",retval);
> return EXIT_SUCCESS;
> }
yes. see
http://rosettacode.org/wiki/Execute_a_system_command#Ada
few examples are given
--Nasser
next prev parent reply other threads:[~2012-12-05 3:08 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-30 7:56 Running programs using ADA Hans Vlems
2012-11-30 8:00 ` Nasser M. Abbasi [this message]
2012-11-30 12:54 ` Hans Vlems
2012-11-30 21:22 ` Per Sandberg
2012-12-01 9:33 ` Hans Vlems
2012-12-01 11:20 ` Dmitry A. Kazakov
2012-12-01 21:49 ` Hans Vlems
2012-12-02 11:22 ` Brian Drummond
2012-12-03 7:56 ` Hans Vlems
2012-12-03 12:03 ` Brian Drummond
2012-12-04 4:49 ` Randy Brukardt
2012-12-01 15:26 ` Anatoly Chernyshev
2012-12-01 21:50 ` Hans Vlems
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox