for { if (value == '1') { ... do stuff ... next; } if (value == '0') { ... do stuff ... next; } ... do nothing ... }