Path: ...!weretis.net!feeder8.news.weretis.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Lawrence D'Oliveiro Newsgroups: comp.lang.c Subject: Re: on allowing "int a" definition everywhere Date: Mon, 2 Sep 2024 03:32:43 -0000 (UTC) Organization: A noiseless patient Spider Lines: 11 Message-ID: References: <7ea05965a67fa09d4ebd0b6ec53109dcb0b12f76@i2pn2.org> <3775b5abd14443f89852e05177a44bd72585cbdd@i2pn2.org> <4c7a695b1b755393162a1ae36ea6306760ffe949@i2pn2.org> <41520456e45d778ea26805f6f711a05757365bc3@i2pn2.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Mon, 02 Sep 2024 05:32:44 +0200 (CEST) Injection-Info: dont-email.me; posting-host="0461de2c4cabc231a24885f70066d9c2"; logging-data="1935273"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/Pmvh51NFt1wtDmZwPLB4x" User-Agent: Pan/0.160 (Toresk; ) Cancel-Lock: sha1:hn1l/pPC841LbSenQmFu6OwCuf4= Bytes: 1715 On Tue, 27 Aug 2024 19:59:13 +0100, Bart wrote: > void draw_line(f32 x, y, x2, y2; u32 colour) { > > - Allow shared types in parameter lists ... A bit easier if you flip it around and use Pascal-style syntax: procedure draw_line(x, y, x2, y2 : f32; colour : u32) See how much more natural that is?