[Openroad-users] Casting an array to another datatype

James Higson James.Higson at optusnet.com.au
Fri Jul 4 15:22:19 EST 2008


Hi there, I am faced with a dilemma:

 

I have an attribute of a class which is of type Array of UserObject.  I need
to cast this to a sub-class of UserObject and pass this to a 3gl function.

 

If it were simply of type UserObject, then I could just cast it thus;
CurObject.ObjectPtrs = MyUserClass_uc(CurObject.ObjectPtrs).  But how do I
do the same for an array?

 

OpenROAD 4.1 SP3.  (We promise to go 2006 real soon.)

 

Thanks,

James

Melbourne, Australia

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.peerlessit.com/pipermail/openroad-users/attachments/20080704/9c4dcb53/attachment.html 


More information about the Openroad-users mailing list