How can i cast an Object in mobiaccess?
I am playing around with mobiaccess framework, but i am stuck when开发者_Go百科 i try to cast an Object to Integer.
Is it possible to cast in mobiaccess?
I tried to below code but it does not work:
var i:Integer = (Integer) objectClass;
You can use the square bracket "[]" like this:
var i:Integer = [Integer] objectClass;
精彩评论