while(0x5B != (c = func())) {....... участок кода ..............switch(c) {}........участок кода ..........}
E-mail: info@telesys.ru