WiFi.config() - Static IP problem - RESOLVED

Have you got Arduino 1.0.5?

Note: Someone recently posted that, although they were able to call WiFi.config(ip), it did not set a static IP address. They had to update the firmware on the WiFi Shield to get it to work. You may run into that same problem once you get the WiFi.config() call to be recognized.