Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.os.vms    |    DEC's VAX* line of computers & VMS.    |    264,096 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 263,065 of 264,096    |
|    Chris Townley to All    |
|    Re: extending MySQL on VMS    |
|    20 Aug 25 18:05:32    |
   
   From: news@cct-net.co.uk   
      
   On 20/08/2025 13:27, Simon Clubley wrote:   
   > Indented properly (not as in your next example!) I find that   
   very   
   > readable and is mostly how I would write it although I do use code   
   > like your return example when appropriate. This is my variant:   
   >   
   > if (p != NULL)   
   > {   
   > if (p->ptr != NULL)   
   > {   
   > if (something(*p->ptr))   
   > {   
   > // Do something....   
   > }   
   > }   
   > }   
   >   
   > In case that doesn't survive a NNTP client, it is in Whitesmiths format:   
   >   
   
|
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca