// Demonstrates error with nested ternary operator

void main(void) {
    byte* const SCREEN = 0x0400;
    for ( byte b: 0..2 ) {
    	    *SCREEN = (b == 0) ? 'a' : ((b == 1) ? 'b' : 'c'); 
    }
}





