Multidimensional Array


hey guys,

 

i have problem,... actual snippet looks this:

 

on updatevars me

  plist = pxmlobj.makelist()

if(plist.count() > 0) then

    q_count = plist[1][2].count()

 

    global questions

 

    questions = [[15],[[q_count],[6]]]

    questions[difflevel].add(plist[1][2][i][1][4],plist[1][2][i][1][3],plist[1][2][i][2][2],p list[1][2][i][3][2],plist[1][2][i][4][2],plist[1][2][i][5][2])

end repeat

 

  else

    halt

  end if

 

end

 

 

----

the script reading questions answers , information xml file.

i dont know how question in every category present, know there 15 difficult levels , every question need 6 information.

so need array this:

 

array[15][xxxxxx][6]

 

how achieve kind of array or whats wrong code!?

 

i "at least 2 parameters epectd" error

 

thanks lot

show example of "raw" xml, or plist variable holds after makelist() method has been used on it.



More discussions in Director Lingo


adobe

Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support