Re: Phix object arrays

new topic     » goto parent     » topic index » view thread      » older message » newer message

Of course C++ and friends use explicit casts for this kind of stuff.

Thinking out loud here, internally the compiler proper is (kind of) actually smart enough to utilise say

function toButton(Button b) return b end function 

However the interpreter and the main parser/front end, probably not (yet)... so thats maybe somewhere between 22% and 23% of a whole idea.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu