Hi!
ich habe das Problem, dass eine unit, die zu 3dgenesis gehört, bei mit irgendwie nicht laufen will. hier ist der entsprechende quelltext:
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: 36: 37: 38: 39: 40: 41: 42: 43: 44: 45: 46: 47: 48: 49: 50: 51: 52: 53: 54:
| unit g4d_basetype;
interface
type geBoolean = Integer; PgeBoolean = ^geBoolean;
const GE_FALSE = geBoolean(0); GE_TRUE = geBoolean(1);
type geFloat = Single; PgeFloat = ^geFloat;
const GE_PI: geFloat = (3.14159265358979323846);
type Int32 = LongInt; Int16 = SmallInt; Int8 = ShortInt; UInt32 = Cardinal; UInt16 = Word; UInt8 = Byte;
PInt32 = ^Int32; PInt16 = ^Int16; PInt8 = ^Int8; PUInt32 = ^UInt32; PUInt16 = ^UInt16; PUInt8 = ^UInt8;
PPUInt8 = ^PUint8; PPChar = ^PChar;
implementation
end. |
hier die zugehörigen fehlermeldungen:
| Zitat: |
[Fehler] g4d_basetype.pas(4): 'INTERFACE' erwartet, aber Bezeichner 'geBoolean' gefunden
[Fehler] g4d_basetype.pas( : Undefinierter Bezeichner: 'geBoolean'
[Fataler Fehler] game_unit.pas(7): Verwendete Unit 'g4d_basetype.pas' kann nicht compiliert werden
|
habt ihr vielleicht eine idee, woran das liegen mag?
danke, knuffel
Carpe Diem. Also programmier mit Delphi.