On Jan 5, 2011, at 8:22 PM, Robert Purves wrote: > > Robert Covington wrote: > >> 1. What percentage of the current FB5 tool (FBtoC), could perhaps >> work as is, at least for a while, without any change, in an >> objective C compiled program? > > 100%, because all legal C is legal Objective-C. I meant what portion output is not currently the (oft mentioned as the problem) Carbon-tainted contamination of that C. I really must not be articulating things clearly at all, as I mean to. That's not 100 percent, but probably something like ...80? > Anyone wishing to attempt FBtoCocoa should look at the runtime, > particularly build_goodies/AppThings.c, which deals with windows, > buttons and menus. > For instance you could locate the FBWindow() function and take the > baby step indicated below. Will take a look... ...looking... Good gosh, who was it who forgot to add all the Cocoa stuff to FBtoC 5.4.x! What an outrageous oversight. ;) I'll see what I can do to help since I'm the one running me yapper, but I use globals. Its a Global Village. The modem-merrier. rc Inventor, Eunuch-code and founder, Global Alliance of FSSpectors > > #define FB_WINDOW_STATEMENT_IS_COCOA 1 // set to 0 or 1 > > #if FB_WINDOW_STATEMENT_IS_COCOA