Autor Beitrag
bocky3
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 45



BeitragVerfasst: Sa 03.09.05 21:52 
hi leute, ich hab da ein kleines prob.
ich hab ma was gechrieben, das meine cd-sammlung archiviert hat. ich hab nur vergessen wie das ging (prog is bei letzter formatierung verschollen).
ich kann mich nur an cd.interpret cd.dauer cd.jahr cd.titel usw erinnern. das scheint mir also ein datenfeld zu sein, oder? bitte um hilfe. linkssind mir auch recht.
thx im voraus.
BenBE
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 8721
Erhaltene Danke: 191

Win95, Win98SE, Win2K, WinXP
D1S, D3S, D4S, D5E, D6E, D7E, D9PE, D10E, D12P, DXEP, L0.9\FPC2.0
BeitragVerfasst: Sa 03.09.05 23:15 
Meinst Du Records?

Bräuchte mehr Infos ... Evtl. Binärauszug der File, falls Du Format-Rekonstruktion benötigst.

_________________
Anyone who is capable of being elected president should on no account be allowed to do the job.
Ich code EdgeMonkey - In dubio pro Setting.
bocky3 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 45



BeitragVerfasst: Sa 03.09.05 23:29 
ja meine ich, aber bis jetzt is das komisch.
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
var klasse : record  drache : string[20];
                  mensch : string[20];
                  untoter : string[20];
                  zwerg : string[20];
                  daemon : string[20];
                  elf : string[20];
                  ork : string[20];
          end;
var
  Form1: TForm1;
implementation




{$R *.dfm}

procedure TForm1.Button1Click(Sender: TObject);
begin
  klasse.drache := (edit1.text);


aber müsste das nich mit

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
type Tklasse = record
     mensch : string[20];
          .
          .
          .

auch funzen?
mein delphi erkennt den record bzw das datenfeld des records dann nich.
Blawen
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 616
Erhaltene Danke: 33

Win XP, Vista, 7
Delphi 5 Prof., BDS 2006 Prof. RAD Studio XE
BeitragVerfasst: So 04.09.05 00:02 
Mal abgesehen, dass Dein Problem mit der 1. Frage keinen Zusammenhang hat, wäre es Hilfreich
wenn Du Dein Problem möglichst genau beschreiben würdest.

Wie wäre es so:
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
Type 
  TKlasse = record  
    drache : string[20];  
      .
    ork : string[20];  
  end;  

Var
  Klasse : TKlasse;


Gruss
Blawen
bocky3 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 45



BeitragVerfasst: So 04.09.05 00:37 
mein prob war, dass ich zuerst nich wusste wie ich das damals gemacht hab bzw wie das (jetzt weiß ich es wieder^^ -record) heißt.^^
da ich die typendeklaration nich richtig gemacht hatte, trat das problem auf, dass der datenstz des records nich richig erkannt wurde.
danke für eure sowohl schnelle als auch kompetente hilfe.
mfg bocky