difference between a method and function?
difference between a method and function?
- Subject: difference between a method and function?
- From: Ben Dougall <email@hidden>
- Date: Sun, 24 Aug 2003 21:37:05 +0100
this might be a silly question but... i'm writing a bit of code that is
contained pretty much within one object, apart from using the
pre-written cocoa objects, and i'm wondering, from that point of view
(from within one object), what's the difference between a method and a
function? what are the advantages / disadvantages of either if any?
- (void)aMethod:(int) x
{
...
}
void aFunction(int x)
{
...
}
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.