Sujet : Re: Loops (was Re: do { quit; } else { })
De : bc (at) *nospam* freeuk.com (bart)
Groupes : comp.lang.cDate : 22. Apr 2025, 17:27:28
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vu8g1f$t57f$1@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
User-Agent : Mozilla Thunderbird
On 22/04/2025 17:10, Scott Lurndal wrote:
proc main =
puts("hello"
end
>
In C that would need '#include <stdio>'. 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.