passing array into a function
Hello there,
I have an array of 2 dimensional which i need to pass to a funtion,
but every time i try to send to the funcation "LoadScenario" it fails.
maybe my syntax is wrong,please take a look
Thanks Ahead
string[,] Vars = newstring[5,4];
Vars[0,1]="Calculos";
Vars[1,1]=" 1";
Vars[2,1]=" 2";
Vars[3,1]=" 3";
Vars[0,0]="General";
Vars[1,0]=" 4";
Vars[2,0]=" 5";
Vars[3,0]=" 5";
Vars[4,0]=" 6";
LoadScenario(Vars);
------------------------
privatevoid LoadScenario(string Vars1)
{
//do something
}
kobi
Junior Poster in Training
57 posts since Nov 2006
Reputation Points: 10
Solved Threads: 0
where is the differance?
Thanks
kobi
Junior Poster in Training
57 posts since Nov 2006
Reputation Points: 10
Solved Threads: 0
kobi
Junior Poster in Training
57 posts since Nov 2006
Reputation Points: 10
Solved Threads: 0