Re: Phix object arrays
- Posted by petelomax Feb 03, 2021
- 787 views
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.