PLEASE HELP

Please discuss general Delphi programming topics here.

PLEASE HELP

Postby mahavira » May 28th, 2008, 7:33 am

Hello,
Please help me... :( :(
I need help with this problem:

I have some record's:

trecord = Record
datac: LongInt; { numeral item }
platn: Boolean; { validity }
length: Byte; { length of record }
next : Pointer; { direction to the next item }
pointx: pstring; { direction to data }
End;
tpointa = ^trecord;

trecordH = Record
data : string12; { unambiguous name of Header }
datah: Pointer; { direction to 1.record of subjugate structure}
dataa: trecord {tpointa};
next : Pointer;
pocd : LongInt;
End;
tpoint = ^trecordH;
.
.
var
fcth : tpoint;
.
.
and I need do this following step's:
.
.
fcth^.dataa:=tprva;
.
.
fcth^.dataa^.next:=tprva;
fcth^.dataa:=tprva;

Please, I have no idea how to write this in Delphi.
And I have the second problem with following function in Delphi:

Seek(FileTemp,FileSize(FileTemp));
Seek(FileTemp,temp);

where FileTemp :textfile;
temp : LongInt;

Thank's a lot...
Mathew
mahavira
Member
Member
 
Posts: 1
Joined: May 28th, 2008, 7:30 am

Return to Delphi Programming

Who is online

Users browsing this forum: No registered users and 1 guest