always getting an syntax error 213: leftside of asn-op not an lvalue void scherm (void) { char s [10]; char i,y; printf("volgende string stond weggeschreven: "); for (i=0;i < 10;i++) { DPTR = i; sel = 0; ACC = 0x03; shiftout (ACC); ACC = DPH; shiftout (ACC); ACC = DPL; shiftout (ACC); y = shiftin (); s [i] = y;//error line sel = 1; printf("%s",s); } }