From: davef@tsoft-inc.com   
      
   On 4/14/2025 1:06 PM, Simon Clubley wrote:   
   > On 2025-04-14, Dave Froble 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   
      
   --- SoupGate-DOS v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|