Frank D. Engel, Jr. wrote:
Correct, those are not features of Ada. Ada *does* have features like AND THEN and OR ELSE (like GPC's AND_THEN, OR_ELSE),
But these are not Turbo Pascal features, but Extended Pascal.
and a number of really cool features that are not even part of GPC to my knowledge.
Probably.
Ada *does* have type casts, but they are neither 'unchecked' nor arbitrary.
I thought so. So they're not quite like TP's type casts.
Ada also supports exceptions, and a somewhat strict variation on inheritance using extensible records:
type oldRec is record oldField : Integer; end record;
type newRec is new oldRec with record newField : Integer; end record;
(newRec will have two fields: oldField and newField).
OK, that's quite similar to TP's objects (without the methods).
Frank