let's say i have this code:
void __fastcall Tx0y0::Button1Click(TObject *Sender)
{
double dxxz,dxyz,dyxz,dyyz;
dxxz = Value2->Text.ToDouble() - Value1->Text.ToDouble();
dxyz = Value3->Text.ToDouble() - Value1->Text.ToDouble();
dyxz = Value5->Text.ToDouble() - Value4->Text.ToDouble();
dyyz = Value6->Text.ToDouble() - Value4->Text.ToDouble();
}
void __fastcall Tx0y0::SaveAsClick(TObject *Sender)
{
if (SaveDialog1->Execute())
Memo1->Lines->SaveToFile(SaveDialog1->FileName);
}
i want to display the dxyz ect results to the memo1 so to save them later on a txt file
void __fastcall Tx0y0::Button1Click(TObject *Sender)
{
double dxxz,dxyz,dyxz,dyyz;
dxxz = Value2->Text.ToDouble() - Value1->Text.ToDouble();
dxyz = Value3->Text.ToDouble() - Value1->Text.ToDouble();
dyxz = Value5->Text.ToDouble() - Value4->Text.ToDouble();
dyyz = Value6->Text.ToDouble() - Value4->Text.ToDouble();
}
void __fastcall Tx0y0::SaveAsClick(TObject *Sender)
{
if (SaveDialog1->Execute())
Memo1->Lines->SaveToFile(SaveDialog1->FileName);
}
i want to display the dxyz ect results to the memo1 so to save them later on a txt file