From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,a33ec7badc330d9e X-Google-Attributes: gid103376,public From: dewar@cs.nyu.edu (Robert Dewar) Subject: Re: Ada Equivalent of "system()" in C? Date: 1996/04/16 Message-ID: #1/1 X-Deja-AN: 147756821 references: organization: Courant Institute of Mathematical Sciences newsgroups: comp.lang.ada Date: 1996-04-16T00:00:00+00:00 List-Id: Dave asks "I'm new to Ada programming, having come from a C background. Is there an equivalent in Ada of the "system()" function in C that allows you execute an external program?" I don't have my C standard handy, but I am a little surprised if system() is part of the C language, but either way, the answer is the same! There is no function in Ada for this purpose, but you can call the system function from Ada using pragma Interface with no problem.