Wednesday, October 1, 2008

Alignment in Delphi 2009

Alignment of structures has changed a bit in Delphi 2009. The new layout is more compatible with C++. The old layout system is still available by setting {$OLDTYPELAYOUT ON}. So if you don't want to change your code for whatever reason you don't have to. Use {$ALIGN n} or {$An} to specify the alignment.


Anonymous said...

Can you tell me more details about the differences from the old and the new allignment plese?

Anonymous said...

Yeah, please tell more. Does this apply to class fields, records or both?

Anonymous said...

read delphi help

Post a Comment