Connecting Tech Pros Worldwide Help | Site Map

Re: Fill array keys if it doesn't exists

  #1  
Old September 8th, 2008, 10:05 AM
mijn naam
Guest
 
Posts: n/a
<mouac01@yahoo.comschreef in bericht
news:55988a3d-789f-47bb-bd80-94f291c33ce6@b30g2000prf.googlegroups.com...
Quote:
>I have this multidimensional array:
Quote:
...
Quote:
How would I write a script that will loop thru all the keys, add keys
and set them to zero if they don't exist in the other sub-arrays.
Something like the below. Thanks...
Quote:
...
Show what you have so far, where do you get stuck?

Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Fill array keys if it doesn't exists Sjoerd answers 2 September 8th, 2008 10:15 PM
comp.lang.c Answers to Frequently Asked Questions (FAQ List) Steve Summit answers 0 November 13th, 2005 11:37 PM
comp.lang.c Answers to Frequently Asked Questions (FAQ List) Steve Summit answers 0 November 13th, 2005 09:56 PM
comp.lang.c Answers to Frequently Asked Questions (FAQ List) Steve Summit answers 0 November 13th, 2005 03:15 AM