Path: news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: bart Newsgroups: comp.lang.c Subject: Re: Loops (was Re: do { quit; } else { }) Date: Tue, 22 Apr 2025 17:27:28 +0100 Organization: A noiseless patient Spider Lines: 24 Message-ID: References: <20250419092849.652@kylheku.com> <20250421145818.767@kylheku.com> <20250421201600.242@kylheku.com> <20250422071411.99@kylheku.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Tue, 22 Apr 2025 18:27:27 +0200 (CEST) Injection-Info: dont-email.me; posting-host="d044c27b80dbbae3d03ebae8688adc0f"; logging-data="955631"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX190oN6g5xJ3c7azWrkrPAdh" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:qQvyhyynQ3EQ9YgD/3tlUpDo1ZI= Content-Language: en-GB In-Reply-To: On 22/04/2025 17:10, Scott Lurndal wrote: >>> proc main = >>> puts("hello" >>> end >>> >>> In C that would need '#include '. Here, 'puts' is defined in a >>> file which is part of my standard library which is automatically >>> included by default. > > Which precludes user overrides of the standard library at compile > time or run-time. I said 'by default'. Obviously there are ways of replacing the library or leaving it out completely. Or it can be left out and the library imported explicitly like this: import msyswin Only one such line is needed for everything, and it is only needed in the lead module of any project. But normally not that even that is required.