<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>> If you are really lazy, you can always use the NOWARN pragma:<BR><BR>
What if I am really really really lazy? :)<BR>
<BR>
> I wouldn't like to see any changes here.<BR><BR>
ok.<BR>
<BR>
- Jay<BR><BR><BR>
<HR id=stopSpelling>
<BR>
> Date: Mon, 11 Feb 2008 14:17:56 +0100<BR>> From: wagner@elegosoft.com<BR>> To: m3devel@elegosoft.com<BR>> Subject: Re: [M3devel] imports anywhere?<BR>> <BR>> Quoting Jay <jayk123@hotmail.com>:<BR>> <BR>> > Here is another SMALL gripe with the language.<BR>> > The need to put IMPORTS at the top (or is it just common style?), <BR>> > leads to something I have seen several times.<BR>> > You comment out some code, thereby deleting the only/last use of <BR>> > some import, that nets you warnings about unused imports. Granted, <BR>> > they are "only" warnings, but I try to have none. Also granted, you <BR>> > can either comment out or just go ahead and remove the imports, easy.<BR>> ><BR>> > It might be nice if the IMPORTS could be adjacent to the code using <BR>> > the IMPORTS, so that they can be comment out or removed together.<BR>> ><BR>> > This "problem" is not unique to Modula-3, by far.<BR>> > In fact, Modula-3 is probably more able to warn about this low cost <BR>> > waste due to its much better module system, compared to say, C and <BR>> > C++ #includes..<BR>> <BR>> I wouldn't like to see any changes here.<BR>> <BR>> It is good that all the imports are explicit, and it is good that<BR>> they are at the top (to define the dependencies). It's not much<BR>> effort to add or remove an import for debugging etc.<BR>> <BR>> If you are really lazy, you can always use the NOWARN pragma:<BR>> <BR>> IMPOPRT IO <*NOWARN*><BR>> <BR>> to suppres the warnings for that declaration. That was not your<BR>> point though.<BR>> <BR>> Olaf<BR>> -- <BR>> Olaf Wagner -- elego Software Solutions GmbH<BR>> Gustav-Meyer-Allee 25 / Gebäude 12, 13355 Berlin, Germany<BR>> phone: +49 30 23 45 86 96 mobile: +49 177 2345 869 fax: +49 30 23 45 86 95<BR>> http://www.elegosoft.com | Geschäftsführer: Olaf Wagner | Sitz: Berlin<BR>> Handelregister: Amtsgericht Charlottenburg HRB 77719 | USt-IdNr: DE163214194<BR>> <BR><BR><br /><hr />Need to know the score, the latest news, or you need your Hotmail®-get your "fix". <a href='http://www.msnmobilefix.com/Default.aspx' target='_new'>Check it out.</a></body>
</html>