Subj : help again please.
To   : All
From : Chris Hoppman
Date : Sun Sep 26 2004 11:37 am

Does anyone have experance in convertting records from pascal to delphi?

I have been using packed records and that does work, but if I include a set in
the record it mess's everything up.


Like

aflags = 1..7;
SizeOf(aflags);

returns
tp = 1
delphi = 1

aflags = 1..8;(up to 15)
returns
tp = 2
delphi = 2

aflags = 1..16;
returns
tp     = 3(up to 23)
tp(24-31) = 4
delphi = 4(up to 31)


How might i get past this?
--- Renegade v09-19.4 DOS
* Origin: The Titantic BBS Telnet - ttb.slyip.com (1:129/305)