Search the Commands

Home  All  a  b  c  d  e  f  g  h  i  j  k  l  m  n  o  p  q  r  s  t  u  v  w  x  y  z 

Details for command getelementofarray:
 
* getelementofarray <array>,<index>;
 
This function will return an array's element when given an index.

// This will find the 2nd array value
getelementofarray(@array,1)
// This would do exactly the same:
@array[1]

getelementofarray is only usefull when giving a array as argument of a function
getelementofarray(getarg(0),1);
since getarg(0)[1] wouldn't work (getarg is a command after all ;P)

Valid XHTML 1.0 Strict Valid CSS!