Friday, February 6, 2009, 4:29:06 PM, Daniel wrote:

> //Now $pointer is the leaf, so you can
> //do whatever you want to it.
> $pointer = "bar"; //Changed the leaf of $tree to 'bar'

Thanks, great!
The only change needed was in th erline above. It should be

  $pointer[$i] = $value;

otherwise the last key is not used and a branch is overwritten. 


Hans


_______________________________________________
pmwiki-devel mailing list
pmwiki-devel@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-devel

Reply via email to