Reputation: 1225
Wondering if we have something like vb6 with..End With Statement in Objective-c?
Example:
With Object
.a = "aaa";
.b = "bbb";
End With
I know that there is something called blocks concept, but i am not sure whether it is available in 10.5 Leopard.
Thanks
Upvotes: 2
Views: 460
Reputation: 85458
The answer is no, there is no such thing in Objective-C.
By the way, blocks (also known as closures) have nothing to do with this.
Upvotes: 2