Hallo Ryan,
Op 23-01-97 om 08:55:08 schreef je aan Ting-Chiao Chu:
TC>> I hope you are wrong. Otherwise Borland is going too far
TC>> away from (standard) pascal with Delpi.
RP> I could not port a 16 bit dos/windows pascal record into delphi2
RP> without getting the record elements to line up unless PACKED was
RP> used. Otherwise the delphi2 compiler spreads the record elements out
RP> in increments of 4 bytes (32 bits). ie a variable of type REAL
RP> doesn't take up 6 bytes in an unpacked record it takes up 8.
Oh, well, although it is probably more efficient for te processor, it does
not make me happy. Before Delphi2 I could rely on the compiler that when I
defined something to be that big, it would be that big and not bigger or
smaller. Now it is becoming like basic where you can rely on nothing in
memory.
_____
GR. |cc
--- FleetStreet 1.18+
---------------
* Origin: ?? (2:284/420.11)
|