Tv-XxX
2010-05-24 18:16:40
I've told raymond about this in IRC, but I thought i'd make a proper bug report aswel.
Basically, TMDTM's work fine in simba if you use them in a script, but if you add them to an extension (.sex) you get an error saying AddPoint does not exist.
Yours
Tv
Basically, TMDTM's work fine in simba if you use them in a script, but if you add them to an extension (.sex) you get an error saying AddPoint does not exist.
program DTMError;
var
TheDTM: TMDTM;
procedure Init;
begin
TheDTM := TMDTM.create;
TheDTM.AddPoint( CreateDTMPoint( 1, 1, 255, 10, 1, False ) );
Writeln( 'DTM : ' + TheDTM.ToString );
end;
procedure Free;
begin
end;
procedure Attach;
begin;
end;
Procedure Detach;
begin
end;
function GetName : string;
begin;
result := 'DTM Error Example';
end;
function GetVersion : string;
begin;
result := '1.0';
end;
begin
end.
Yours
Tv