delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/09/02/23:00:19

Date: Tue, 2 Sep 1997 19:58:50 -0700 (PDT)
Message-Id: <199709030258.TAA10301@adit.ap.net>
Mime-Version: 1.0
To: djgpp AT delorie DOT com
From: Nate Eldredge <eldredge AT ap DOT net>
Subject: Re: working out circumference help

At 06:07  9/1/1997 +0100, David Jenkins wrote:
>What does the (a,2) do?? I haven't come across this before.
What it does is return the value `2' and ignore the `a' entirely, since it
has no side effects. This is what the comma operator normally does, and is
legal C. I very seriously doubt, however, that this was what the poster
wanted. :)

Nate Eldredge
eldredge AT ap DOT net



- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019