You just have to reverse the process eg
function read_record(strlst : TStringList; idx : integer): ????
var
rec_ptr : ^TNodeRecord;
level := integer;
typ := TRecType;
begin
rec_ptr := strlst.objects[i];
typ := rec_ptr^.ntype;
level := rec_ptr^.level;
...
Not intuitive for me, but then I'm not a C programmer <g>
Stephen
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, 15 December 2000 05:47
To: Multiple recipients of list delphi
Subject: RE: [DUG]: AddObject and record structures
I tried this, but had problems at the other end when I went to extract the
items i.e. alwasy GPF'd on me.
Jeremy Coulter
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"