Diddy Kong
2010-02-20 01:50:03
SCAR will not call this procedure even though I am using the include statements at the top of the script.
Note: This is to be my first script. :spongebob:
Note: This is to be my first script. :spongebob:
2010-02-20 01:50:03
2010-02-20 02:13:18
2010-02-20 10:23:26
2010-02-20 12:48:23
2010-02-20 13:03:34
2010-02-20 13:09:26
2010-02-20 14:53:41
2010-02-20 15:12:39
From: GreenText
I'm still getting unknown identifiers. I guess it's not possible to make a huge script into multiples for simplicity/readability?
I thought of the include statement as exactly what it says; I thought it would put that chunk of code from one scar file into another, and ultimately in the end compile that 'one huge script'.
Line 23: [Error] (31:5): Unknown identifier 'ComboBox1' in script C:\Program Files\SCAR\includes\RiverWranglerFormsCallbacks.scar
procedure InitSplashBitmap;
begin
bmpSplash := [superlongbitmap];
end; function InitSplashBitmap: integer;
begin
result := [superlongbitmap];
end;
bmpsplash := InitSplashBitmap;
procedure ChangeValues(var Bank: boolean; var AmtFish: integer);
begin
Bank := true;
AmtFish := 5;
end;
DoBank := false;
HowManyFish := 0;
ChangeValues(DoBank, AmtFish);
writeln(booltostr(DoBank)+' '+inttostr(AmtFish));
true 5
2010-02-20 15:53:25
From: YoHoJo
Why not just combine them all into one? Who cares how long the script it, maybe that will fix the problem too. I'm stumped on why its happening:/.