Article View: comp.lang.modula2
Article #105Re: argc and *argv in Modula-2 ?
From: Andries Dippenaar
Date: Mon, 13 Apr 1992 08:16
Date: Mon, 13 Apr 1992 08:16
39 lines
2266 bytes
2266 bytes
In article <246386365P@tron.gun.de> g_dotzel@tron.gun.de (Guenter Dotzel) writes: >> Someone was how 'argc' and '*argv' could be implemented in Modula-2. >> >> Modula2 library is not standardized as C library is. How to implement these > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >> two C procedure depends on computer and M2 implementation which you use. >> I you, for example, used PC and TopSpeed IDE, the answer you could find in >> module Lib. >> >> DEFINITION MODULE Lib; >> PROCEDURE ParamStr(VAR S: ARRAY OF CHAR; N: CARDINAL); >> PROCEDURE ParamCount(); >> END Lib. >Oh, Oh! Please, take a look at the ISO M2 Standard I/O-Library: >----->commercial starts here: >We have implemented the full ISO M2 I/O-Lib module set for VAX/VMS. >It's part of ModulaWare's MVR V3.16 release, available since 13-Mar-1992. ><-----commercial ends here. Yes, we all know you have got this all singing and dancing compiler with ISO modules (sounding bored). Would it be too much to ask to tell us where to get a specification of the standard modules. I have tried to reach you through eMail, but to no avail. In a previous posting you mentioned nine or 15 *standard* modules. Spare a thought for those who are not using your latest and greatest compiler or who (like us) have implemented an own compiler and would like to enhance it. Andries ******************************************************************************* ** /|~~\ ** APJ Dippenaar ** "If you wanna make the world a ** ** /__|__/ ** apj@sunvax.sun.ac.za ** better place, take a look at ** ** / | ** Univ of Stellenbosch ** yourself and make a change." ** ** / \__| ** South Africa ** -- Michael Jackson ** *******************************************************************************
Technical Details
Message-ID:
<apj.27@sunvax.sun.ac.za>Path:
arc1-ca.pugleaf.net!sparky!uunet!psgrain!quagga!hippo!ucthpx!apjReferences:
<246386365P@tron.gun.de>Show Full Headers
Complete Article Headers
Newsgroups: comp.lang.modula2 Path: arc1-ca.pugleaf.net!sparky!uunet!psgrain!quagga!hippo!ucthpx!apj From: apj@sunvax.sun.ac.za (Andries Dippenaar) Subject: Re: argc and *argv in Modula-2 ? Message-ID: <apj.27@sunvax.sun.ac.za> Sender: news@ucthpx.uct.ac.za (UCT News Admin.) Organization: University of Stellenbosch References: <246386365P@tron.gun.de> Date: Mon, 13 Apr 92 08:16:59 GMT Lines: 39