Thread
:
array[0].name, not working?
View Single Post
#
4
10-17-2009, 12:39 PM
Twinny
My empire of dirt
Join Date: Mar 2006
Location: Australia
Posts: 2,422
PHP Code:
function
onCreated
()
{
this
.array = {
1
,
2
,
3
};
this
.array[
0
].var =
"test"
;
echo(
this
.array[
0
].var);
}
Just got that working on Testbed. As Crow said, you won't be able to use 'name' since it's reserved...
Twinny
View Public Profile
View GraalOnline Profile
Find all posts by Twinny