Vote UpVote

From Delphi 1: Type Compatibility and Identity

The Wiert Corner – A feature overlooked by many Delphi programmer was already introduced in Delphi 1 which is more or less the same as in the Delphi 2007 documentation at [WayBack] Type Compatibility and Identity. There is a distinction between these explained in the above link: type TMyInteger1 = Integer; TMyInteger2 = type Integer; Where TMyInteger1 is an alias for Integer, TMyInteger2 introduces a new type which is distinct from Integer and TMyInteger. That way the compiler can set them apart, and even generates separate RTTI (Run-Time TypeInformation) for them. Probably the most used distinct types are ...
Favorite? Off-Topic? jpluimers @ 2020-10-01 11:02


Visits: 175
Votes: 1
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Michał Rajewicz
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News


Please login or register to use this functionality.
(click on this box to dismiss)