开发者

How do I get the value of a class variable in squeak?

I have a string that contains the name of a class variable that I know exists for class A. I need to get the value of this varia开发者_StackOverflow社区ble (i.e. dereferencing), how do I do it?


(A bindingOf: #VariableName) value
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜