(Something*) SomethingElse

BlitzMax Forums/BlitzMax Beginners Area/(Something*) SomethingElse

Haramanai(Posted 2005) [#1]
this is Code that I had seen in c++ codes.
As far as I understand it, it means that it converts a pointer of SomethingElse to a pointer of Something.

so to do that in BMax i tried :
Somethin ptr (SomethingElse)

is this all right?
I am asking because Sometime I am not getting what i wand.
edit:sorry I just figured out that this was ok.


Who was John Galt?(Posted 2005) [#2]
Well its Max code, not C++, but that looks right. Give an example of how you don't get what you want.