I would like to know if there is a variant data type in Delphi prism.
I am converting a Delphi win32 application for Delphi Prism .NET environment.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The closest thing is
Objectas all types derive from it. This is not a great solution though.With .NET 4.0 the
dynamickeyword was introduced that may be closer to what you are looking for.A direct analogue does not exist.