[progress Communities] [progress Openedge Abl] Forum Post: Re: Cast Vs Dynamic-cast

  • Thread starter Thread starter Laura Stern
  • Start date Start date
Status
Not open for further replies.
L

Laura Stern

Guest
Ah yes. Whew! And I see that I contradicted myself! The CAST should not make the compilation fail - especially when the type is an interface - since we of course won't know what that type is at runtime. And that is the point of doing the cast - to tell the compiler to shut up and let you do this because you claim to know what you're doing!

Continue reading...
 
Status
Not open for further replies.
Back
Top