Deutsch English Français Italiano |
<vtmv72$ubo2$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: Dave Froble <davef@tsoft-inc.com> Newsgroups: comp.os.vms Subject: Re: Clair Grant on VMS code base Date: Tue, 15 Apr 2025 20:55:55 -0400 Organization: A noiseless patient Spider Lines: 38 Message-ID: <vtmv72$ubo2$1@dont-email.me> References: <vsh5m5$3is6e$1@dont-email.me> <vsmj7h$19qc0$1@dont-email.me> <vsmk9b$18rgf$1@dont-email.me> <vsp6ol$eli$1@dont-email.me> <vsv6jf$28vt6$1@dont-email.me> <vt34b1$26vpf$1@dont-email.me> <vt34qq$26k93$1@dont-email.me> <vt3m9a$2n50b$1@dont-email.me> <vtbqjj$29rog$2@dont-email.me> <vtj025$18n4d$1@dont-email.me> <vtj2tu$1cfo8$1@dont-email.me> <vtjfa7$1np63$3@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Wed, 16 Apr 2025 02:56:04 +0200 (CEST) Injection-Info: dont-email.me; posting-host="946500e2ccdd002e55298218faa273a8"; logging-data="995074"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+HIfP8yBc9mmqSe4XAuC0N0ZDQlJMn8kQ=" User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 Cancel-Lock: sha1:GGs2pGaiRX3ayq/26GhjKSNnm0k= In-Reply-To: <vtjfa7$1np63$3@dont-email.me> Bytes: 2988 On 4/14/2025 1:06 PM, Simon Clubley wrote: > On 2025-04-14, Dave Froble <davef@tsoft-inc.com> wrote: >> >> An example of a style I favor: >> >> Stat% = SYS$QIOW( , ! Event flag & >> ListenCh% By Value, ! VMS channel & >> IO$_SETCHAR By Value, ! Operation & >> IOSB::Stat%, ! I/O status block & >> , ! AST routine & >> , ! AST parameter & >> ListenOpt::Protocol%, ! P1 & >> , ! P2 & >> ServerItemLst::Len%, ! P3 - local socket na^ >> BackLog% By Value, ! P4 - connection back^ >> SockOptItemList::Len%, ! P5 - socket options & >> ) ! P6 >> >> Ok, how many lines of code? >> > > Exactly one line of code. > > Simon. > Indeed! However, some utilities used to count lines of code might count more than one. So, the entire exercise should be considered subject to errors. Perhaps looking at the size of object files, or executables, might be a better measure? -- David Froble Tel: 724-529-0450 Dave Froble Enterprises, Inc. E-Mail: davef@tsoft-inc.com DFE Ultralights, Inc. 170 Grimplin Road Vanderbilt, PA 15486