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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,7745e5fc7c6c6c56,start X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!postnews.google.com!y22g2000prd.googlegroups.com!not-for-mail From: richtmyer@cox.net Newsgroups: comp.lang.ada Subject: Ada Function for "logMsg" Date: Thu, 24 Jul 2008 18:50:39 -0700 (PDT) Organization: http://groups.google.com Message-ID: <33589bb4-4526-44ee-83bb-87e575b3fc28@y22g2000prd.googlegroups.com> NNTP-Posting-Host: 132.228.195.206 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: posting.google.com 1216950639 596 127.0.0.1 (25 Jul 2008 01:50:39 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 25 Jul 2008 01:50:39 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: y22g2000prd.googlegroups.com; posting-host=132.228.195.206; posting-account=Z7Cz1woAAAA0DPjSZK8wuaYD_ro5RKkK User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.16) Gecko/20080702 Firefox/2.0.0.16,gzip(gfe),gzip(gfe) Xref: g2news2.google.com comp.lang.ada:7046 Date: 2008-07-24T18:50:39-07:00 List-Id: Some of our Ada code runs on VxWorks, and calls logMsg. When testing the code in a simulation environment (Ms Windows or Linux), we use Ada code to simulate the VxWorks calls. We are looking for an Ada function that will parse the first (string) arg to logMsg and substitute the other arg's as appropriate, i.e. operate like the real logMsg, using text_io.put or something similar to print it out. Anybody? thanks, Peter