开发者

With...End With VB6 Statement like Statement in objective-c

Wondering if we have something li开发者_开发技巧ke 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


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜