Re: Conditionally declaring a BOOL in a .m file to be accessed in a .c function

2016-09-21 Thread Alex Zavatone
Please ignore those last two messages. An offline device just came on and those were sent last night. Thanks. On Sep 20, 2016, at 11:04 PM, Alex Zavatone wrote: > Unknown type. But bool works. > > Thanks, Ryan. ___ Cocoa-dev mailing list

Re: Conditionally declaring a BOOL in a .m file to be accessed in a .c function

2016-09-21 Thread Alex Zavatone
Unknown type. But bool works. Thanks, Ryan. Sent from my iPad. Please pardon typos. On Sep 20, 2016, at 11:58 AM, Ryan Dignard wrote: > This doesn't work? > in the .m file at file scope > BOOL condition = NO; > > in the .c file at file scope > extern BOOL

Re: Conditionally declaring a BOOL in a .m file to be accessed in a .c function

2016-09-21 Thread Alex Zavatone
OK. So how do I change that bool within a method in that .m file as the result of a condition? Thanks. Sent from my iPad. Please pardon typos. On Sep 20, 2016, at 11:58 AM, Ryan Dignard wrote: > This doesn't work? > in the .m file at file scope > BOOL condition

Re: Conditionally declaring a BOOL in a .m file to be accessed in a .c function

2016-09-20 Thread Ryan Dignard
This doesn't work? in the .m file at file scope BOOL condition = NO; in the .c file at file scope extern BOOL condition; On Tue, Sep 20, 2016 at 8:14 AM, Alex Zavatone wrote: > I've been beating my head against the wall on this one. > > I'm trying to evaluate a condition and