comp.lang.ada
 help / color / mirror / Atom feed
From: Hans Vlems <hvlems@freenet.de>
Subject: Re: Running programs using ADA
Date: Fri, 30 Nov 2012 04:54:49 -0800 (PST)
Date: 2012-11-30T04:54:49-08:00	[thread overview]
Message-ID: <e3a8b15b-b5c7-45bb-84ea-ef3f3fce3b6a@bx4g2000vbb.googlegroups.com> (raw)
In-Reply-To: k99p2b$4k1$1@speranza.aioe.org

On 30 nov, 09:00, "Nasser M. Abbasi" <n...@12000.org> wrote:
> 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

Now that is a very useful website!
Thank you very much indeed, Nasser.

Hans



  reply	other threads:[~2012-11-30 12:54 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
2012-11-30 12:54   ` Hans Vlems [this message]
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