
// Minimal range based for() loop

byte* SCREEN1 = $0400;
byte* SCREEN2 = $0500;

void main() {
    for(byte i : 0..255) {
      SCREEN1[i] = i;
    }
    byte j;
    for(j : 100..0) {
      SCREEN2[j] = j;
    }
}
