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=-0.8 required=5.0 tests=BAYES_00,INVALID_DATE autolearn=no autolearn_force=no version=3.4.4 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!zaphod.mps.ohio-state.edu!mips!apple!snorkelwacker!mit-eddie!uw-beaver!Teknowledge.COM!unix!hplabs!hp-ses!hpcuhb!hpcllla!hpclisp!defaria@hpclapd.HP.COM From: defaria@hpclapd.HP.COM (Andy DeFaria) Newsgroups: comp.lang.ada Subject: Re: Unix (HP-UX) system calls from ADA Message-ID: <920021@hpclapd.HP.COM> Date: 21 Mar 90 18:46:28 GMT References: <1587@krafla.rhi.hi.is> Organization: Hewlett-Packard Calif. Language Lab List-Id: I have notice a few minor problems with my previous posting. I reference the package SYSTEM and the generic UNCHECKED_CONVERSION but I forgot to "with" them therefore add: with SYSTEM; with UNCHECKED_CONVERSION; Also, in the package body EXECUTE_UNIX_COMMAND the following line: STATUS := C_SYSTEM (CONVERT_TO_C ("clear")); should read: STATUS := C_SYSTEM (CONVERT_TO_C (COMMAND)); so that the EXECUTE_UNIX_COMMAND executes the passed in command and not just the command "clear". Sorry =============================================================================== I know you believe you understand what you think I | Andrew DeFaria said but I'm not sure you realize that what you heard| Hewlett Packard is not what I meant! | California Langauge Labs ===============================================================================