I am porting a large body of code from the MetaWare Professional Pascal compiler to Free Pascal. The existing code makes extensive use of the MetaWare "retype" construct, which allows you to convert between types. For example:
retype(X, Rec1Ptr) will convert the obect X to the type "Rec1Ptr".
Is it possible to do something equivalent in FPC?
There are > 1000 uses of this, and I'd prefer to make the minimal modifications.
Thanks.
-- Bruce
CONFIDENTIALITY NOTICE: This e-mail is confidential and intended solely for the use of the individual or entity to which it is addressed. If you are not the intended recipient, be advised that you have received this email in error and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. If you received this e-mail in error, please delete it from your computer and contact the sender.
