Equality Operator Syntax
Equality Operator Syntax
- Subject: Equality Operator Syntax
- From: Ronnie O <email@hidden>
- Date: Sat, 25 Jun 2005 18:35:14 -0500
This may be elementary syntax, but I can't seem to locate an example
or explanation on what exactly is go on with this statement:
BOOL isOnDropTypeProposal = childIndex==NSOutlineViewDropOnItemIndex;
A little background on what is going on:
- isOnDropTypeProposal is declared here
- childIndex is sent in as a method argument of type int
- NSOutlineViewDropOnItemIndex defaults to -1
This is from the DragNDropOutlineView example. What is the order of
evaluations and assignments that is taking place here?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden