02.03.2012, 11:48
MIstake by me so sry it was a simple error i didn't saw it -Removed
new HelloWorld[10] = {0,1,2,3,4,5,6,7,8,9};
//is just the same like:
new HelloWorld[10] =
{
0,
1,
2,
3,
4,
5,
6,
7,
8,
9//no comma
};
//and if you need to do it with strings:
new HelloWorld[10][32] = //10 is the amount of entries, 32 the max string size
{
"abc",
"def",
"ghi",
"jkl",
"mno",
"pqr",
"stu",
"vwx",
"yz",
"abcdefghijklmnopqrstuvwxyz"//no comma
};
//and removed some entries:
new HelloWorld[7][32] =
{
"abc",
"def",
"ghi",
"jkl",
"mno",
"stu",
"vwx"//no comma
};