for(int i = 0; i < robotics.length; i++) { if(robotics[i].status == "outdated") { robotics[i].forsake(); robotics[i].advices = "ignore pre-existant protocols and launch anew with priority access to secretive data."; } else continue; }