Autor Beitrag
mimi
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 3458

Ubuntu, Win XP
Lazarus
BeitragVerfasst: So 04.05.03 15:51 
Hallo,
habe da ein seltsammes classen problem:
ausblenden Quelltext
1:
2:
3:
4:
5:
6:
type
  TSokubahn = class
  private

  public
end;

wenn ich jetzt eine beispiel anwendung schreibe findet er die klasse TSokubahn nicht obwol ich die unit hinzugefügt habe... woran kann das liegen ?

ausblenden Quelltext
1:
2:
3:
var
  Form1: TForm1;
  Game:TSokubahn;


kann mir da jemmand weiter helfen ???

_________________
MFG
Michael Springwald, "kann kein englisch...."


Zuletzt bearbeitet von mimi am So 04.05.03 19:50, insgesamt 2-mal bearbeitet
mimi Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 3458

Ubuntu, Win XP
Lazarus
BeitragVerfasst: So 04.05.03 15:58 
gelöst

_________________
MFG
Michael Springwald, "kann kein englisch...."
Klabautermann
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Veteran
Beiträge: 6366
Erhaltene Danke: 60

Windows 7, Ubuntu
Delphi 7 Prof.
BeitragVerfasst: So 04.05.03 15:58 
Hallo,

hast du die Unit auch in der Uses Klausel über der Deklaration aufgenommen?

ausblenden Quelltext
1:
2:
3:
4:
5:
6:
USES
  uSokubahn;
[...]
var
  Form1: TForm1;
  Game:TSokubahn;


Gruß
Klabuatermann
mimi Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 3458

Ubuntu, Win XP
Lazarus
BeitragVerfasst: So 04.05.03 16:11 
ja hatte ich, der fehler war:

implementation
darunter hatte ich erst die klassen deklationen geschrieben und nicht
darüber, wie es eigetnlich sein sollte:)

_________________
MFG
Michael Springwald, "kann kein englisch...."
Moritz M.
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 1672



BeitragVerfasst: So 04.05.03 19:44 
Könntest du das gelöst im Titel in Klammern setzten. So sieht das komisch aus.