http://prntscr.com/jgw8u
I keep getting closing parenthesis error. Someone help me here? What parenthesis is wrong?
http://prntscr.com/jgw8u
I keep getting closing parenthesis error. Someone help me here? What parenthesis is wrong?
Post the code instead? You probably add an extra/missed up a bracket somewhere.
Also even if the parenthesis fixed you will get an out of range error because the index of an array always starts with 0. Change the for loop to 0 to 27.
Also if you are intending to make it write every TPA[i] you need a begin.
This is the code. Im just testing.Post the code instead?
That is the problem I cant find whereYou probably add an extra/missed up a bracket somewhere.
Thanks forgot thatAlso even if the parenthesis fixed you will get an out of range error because the index of an array always starts with 0. Change the for loop to 0 to 27.
Also if you are intending to make it write every TPA[i] you need a begin.
Last edited by Sax; 11-11-2012 at 01:19 PM.
Thanks![]()
Now, I have another problem...
Invalid number of parameters...
http://puu.sh/1q9sU
What is wrong here?
mmouse
Red & Green Salamander Hunter // Construction // Gilded Altar // Major help w/ Kyles Runespan // VWB Smither // PhoenixFeathers // GemCutter // Bonfire // LRC Miner // Spell Tab Maker // ApeAtollAgility // IvyWC // RoguesCooker // Herblore // AshamanButterfly // AshamanPowerMiner // Fletcher // LividFarm
what does it mean when it says out of range?
I have a Array of TIntegerArray like this:
Simba Code:Arrayy[0] := [1, 2, 4, 3, 1, 9, 25, 26, 4, 18, 1, 7, 6, 2, 5, 7, 1, 5, 9, 3, 2, 8, 4, 20, 16, 12, 8, 4];
Arrayy[1] := [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28];
Arrayy[2] := [1, 2, 3, 4, 5, 7, 9, 5, 9, 10, 1, 12, 6, 15, 4, 1, 17, 1, 1, 8, 24, 3, 22, 21, 25, 26, 27, 28];
Arrayy[3] := [1, 5, 9, 1, 1, 1, 2, 2, 6, 1, 1, 1, 2, 2, 3, 7, 11, 5, 9, 3, 7, 4, 8, 12, 16, 2, 4, 2];
And it compiles successfully but when I try to run it it says Error: out of range
Can someone help?
Post where you declared Arrayy as a variable
what do you mean? it is not supposed to be Array of TInteger Array ?
You are missing an r.
You have is as arayy. You're defining the array as "arRayy", with 2 r's.
Currently: Playing OSRS legit until I get bored
This isn't the reason, even if he posted it this way, if it was a problem with the naming the error would be a "Unknown identifier" error, and im pretty sure he is getting it during runtime. The problem is he's declared the variable without declaring the size, there's 2 ways around this..
This method is used after declaration. Alternatively he could do it whilst declaring like so..Simba Code:SetLength(Arrayy, 4);
Simba Code:Var
Arrayy : Array[0..3] of TIntegerArray;
There are currently 1 users browsing this thread. (0 members and 1 guests)