procedure TForm1.Button1Click(Sender: TObject); procedure t2(var x:Char); type TLRRec = record L,R:SmallInt; end; type TWavRec = array[word] of TLRRec; var Data:TWavRec absolute x; begin Caption:=Format('%8x %8x',[data[0].L,data[0].R]); end; begin t2(PCHAR('test')^); end;