for turning your list of information into arrays,i have successfully used this on a 4800 long array :-)
instructions for use
1.make sure your cursor is on the line above where ur first piece of the array starts
2.setup the name of ur array in array maker, and list how many pieces of data u are turning into array, ex:= in mine there was 14 total pieces of data
SCAR Code:
program autoarraymaker;
{.include srl/srl.scar}
var howmanyinarray,number:integer;ArrayName:string;
begin
setupsrl;
activateclient;
wait(5000);
HowManyInArray:=14;//this is total amount, not array number max;
ArrayName:='Color'; // before the open bracket in ur array
repeat
keydown(40);
keyup(40);
keydown(36);
keyup(36);
sendkeys(ArrayName+'['+inttostr(number)+']:=');
keydown(35);
keyup(35);
sendkeys(';');
number:=number+1;
wait(3);
until (number=howmanyinarray)
end.
ex:=
SCAR Code:
program new;
procedure setup;
begin ///put ur cursor on this line
5789791
5855584
5921377
5987170
6052963
6118756
6184549
6250343
6316136
6381929
6447722
6513515
6579308
6645101
end;
turns that into this
SCAR Code:
program new;
procedure setup;
begin ///put ur cursor on this line
Color[0]:=5789791;
Color[1]:=5855584;
Color[2]:=5921377;
Color[3]:=5987170;
Color[4]:=6052963;
Color[5]:=6118756;
Color[6]:=6184549;
Color[7]:=6250343;
Color[8]:=6316136;
Color[9]:=6381929;
Color[10]:=6447722;
Color[11]:=6513515;
Color[12]:=6579308;
Color[13]:=6645101;
end;