trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: January 2012

Re: [trinity-devel] C++ Question

From: /dev/ammo42 <mickeytintincolle@...>
Date: Mon, 16 Jan 2012 19:17:19 +0100
On Mon, 16 Jan 2012 10:06:45 -0800 (PST)
Darrell Anderson <humanreadable@...> wrote:

> > In this example, if X > Y then it would return. of
> > course if X was not greater than Y it would return a the end
> > of the function normally.
> 
> So you are saying when x>y that the function does not evaluate the
> else statement, stops at that point, and returns 1?
Yes. Everything that you could put between the if-then-else statement
and the return 0; wouldn't be executed.
> 
> Darrell
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> trinity-devel-unsubscribe@... For additional
> commands, e-mail: trinity-devel-help@... Read
> list messsages on the Web archive:
> http://trinity-devel.pearsoncomputing.net/ Please remember not to
> top-post:
> http://trinity.pearsoncomputing.net/mailing_lists/#top-posting
>