P
pdjwind
Unregistered / Unconfirmed
GUEST, unregistred user!
type
Tallin = record
id: string;
phone: string;
messages: string;
end;
procedure TForm1.Button1Click(Sender: TObject);
var
main_allin , ok_allin: Tallin;
begin
main_allin :=getallin(ok_allin);
showmessage(main_allin.phone);
end;
function TForm1.getallin(ok_allin: Tallin): Tallin;
begin
ok_allin.id :='1';
ok_allin.phone :='13708311471';
ok_allin.messages :='ok';
end;
Tallin = record
id: string;
phone: string;
messages: string;
end;
procedure TForm1.Button1Click(Sender: TObject);
var
main_allin , ok_allin: Tallin;
begin
main_allin :=getallin(ok_allin);
showmessage(main_allin.phone);
end;
function TForm1.getallin(ok_allin: Tallin): Tallin;
begin
ok_allin.id :='1';
ok_allin.phone :='13708311471';
ok_allin.messages :='ok';
end;