WhoCares357
2008-07-24 13:49:43
I was testing one of my scripts after updating it (for compatibility with SRL 20). Halfway through a mouse movement the script terminated and I got this error:
It pointed me to this line (I'll include a few below/after):
Line 28 is this:
:)
Edit: Now it gives me this error when I try to run the script again:
[Runtime Error] : Out of Global Vars range in line 28 in script C:\Program Files\SCAR 3.15\includes\SRL/SRL/Core/Mouse.scarIt pointed me to this line (I'll include a few below/after):
sqrt2:= sqrt(2);
sqrt3:= sqrt(3);
sqrt5:= sqrt(5);
while hypot(xs - xe, ys - ye) > 1 do
begin
dist:= hypot(xs - xe, ys - ye);
wind:= minE(wind, dist);Line 28 is this:
while hypot(xs - xe, ys - ye) > 1 do:)
Edit: Now it gives me this error when I try to run the script again:
Line 202: [Error] (202:9): Unknown identifier 'MakeSplinePath' in script C:\Program Files\SCAR 3.15\includes\SRL\SRL\Core\Mouse.scar