access subclass functions

Saaa empty at needmail.com
Thu Nov 20 06:48:16 PST 2008


My bad, I meant:

b=cast(Banana)fruits[1].peel();


"Steven Schveighoffer" <schveiguy at yahoo.com> wrote in message 
news:gg3p0v$2494$1 at digitalmars.com...
> "Saaa" wrote
>>> (and your example doesn't reflect the error messages),
>> How do you mean? Like not at all?
>> As you noticed it isn't the actual code, but I thought it would reflect 
>> it though.
>
> I mean, you have some cast error, but there is no casting in your code 
> sample.
>
> -Steve
> 




More information about the Digitalmars-d-learn mailing list