x3chaos
01-23-2011, 10:19 PM
Let me explain my situation here.
I dropped off of the SRL radar (as previously with zeeky111) for quite a while, when the last SCAR update was 3.12.
I remember having this problem back in the day, but I don't remember what remedied it, and why it happened.
So now, when trying to run even a simple script such as:
program TestInclude;
{.include SRL/SRL.scar}
begin
SetupSRL;
end.
It returns the following:
Compiling error | Line 68 | File: Mouse.scar | Message: Type mismatch
I realize that Mouse.scar is an include, and what it does, and et cetera.
My question is, how do I fix it so that I can use SRL/SRL.scar?
Info:
Line 68 of Mouse.scar is:
randomDist:= maxStep / 2.0 + random(round(maxStep) / 2);
I've also tried messing with parentheses in it:
randomDist:= (maxStep / 2.0 + random(round(maxStep) / 2);
..to no avail.
Thanks.
I dropped off of the SRL radar (as previously with zeeky111) for quite a while, when the last SCAR update was 3.12.
I remember having this problem back in the day, but I don't remember what remedied it, and why it happened.
So now, when trying to run even a simple script such as:
program TestInclude;
{.include SRL/SRL.scar}
begin
SetupSRL;
end.
It returns the following:
Compiling error | Line 68 | File: Mouse.scar | Message: Type mismatch
I realize that Mouse.scar is an include, and what it does, and et cetera.
My question is, how do I fix it so that I can use SRL/SRL.scar?
Info:
Line 68 of Mouse.scar is:
randomDist:= maxStep / 2.0 + random(round(maxStep) / 2);
I've also tried messing with parentheses in it:
randomDist:= (maxStep / 2.0 + random(round(maxStep) / 2);
..to no avail.
Thanks.