On Apr 12, 2013, at 7:30 PM, YT wrote: > Is this even possible?
Yes, extremely easy, just "create" the var, as in: int gFoobar = 42; Then reference it elsewhere as: extern int gFoobar; ***NOW*** whether or not this is a good thing to do, particularly for your preferences, and also some details about extern var declarations/definitions that vary between versions of C, are different questions ;-) -- Scott Ribe [email protected] http://www.elevated-dev.com/ (303) 722-0567 voice _______________________________________________ Cocoa-dev mailing list ([email protected]) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
