mirror of
https://gitlab.com/camelot/kickc.git
synced 2025-08-07 22:25:13 +00:00
15 lines
279 B
Plaintext
15 lines
279 B
Plaintext
// Test to provoke Exception when using complex || condition
|
|
|
|
const byte* RASTER = $d012;
|
|
const byte* SCREEN = $0400;
|
|
|
|
void main() {
|
|
while(true) {
|
|
byte key = *RASTER;
|
|
if (key > $20 || key < $40) {
|
|
key = 0;
|
|
}
|
|
*SCREEN = key;
|
|
}
|
|
}
|