In our previous episode, Marcos Douglas B. Santos said: > I would like to write some packages that should work in FPC and Delphi. > I know that I will need to use {mode delphi} to do that. > > My ask is: Is there some disadvantages using this mode? > > I mean, is there something that we only can do in mode objfpc but not in > mode delphi, or is it just about syntax?
Mostly syntax. Mode objfpc disambiguates a corner case for procedural types with an extra @ for assignment of procedural types, and a few other tightenings. The proponents of mode objfpc make a big deal out of the differences, but IMHO it is mostly nitpicking. And worse unnecesarily incompatible nitpicking. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal