superbatman
2009-03-02 16:13:40
Hello everybody, i have never used reflection OR even smart, and when i was trying to run timers program:
it fails and returns:
Line 87: [Error] (16562:19): Unknown identifier 'SmartStringFromChars' in script C:\Documents and Settings\Owner\Desktop\SCAR 3.15\includes\SRL\SRL\Reflection\Core.Scar
{.include SRL\SRL\Misc\Smart.scar}
{.include SRL\SRL.scar}
{.include SRL\SRL\Reflection\Reflection.scar}
var
Ref_Pos: TPoint;
begin
SmartSetupEx(World, False, True, False);
SetTargetDc(SmartGetDC);
SetupSRL;
Ref_Pos := GetMyPos;
WriteLn('Point(' + IntToStr(Ref_Pos.x) + ', ' + IntToStr(Ref_Pos.y) + ')');
end.
it fails and returns:
Line 87: [Error] (16562:19): Unknown identifier 'SmartStringFromChars' in script C:\Documents and Settings\Owner\Desktop\SCAR 3.15\includes\SRL\SRL\Reflection\Core.Scar