mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-25 20:42:07 +00:00
Implement FOREACH (#658)
This acts like `REPT` with a variable automatically incremented across a range of values Fixes #432
This commit is contained in:
6
test/asm/foreach.err
Normal file
6
test/asm/foreach.err
Normal file
@@ -0,0 +1,6 @@
|
||||
ERROR: foreach.asm(16):
|
||||
FOREACH cannot have a step value of 0
|
||||
ERROR: foreach.asm(41) -> foreach.asm::REPT~5(47):
|
||||
'v' already defined as constant at foreach.asm(41) -> foreach.asm::REPT~4(45)
|
||||
FATAL: foreach.asm(41) -> foreach.asm::REPT~5(47):
|
||||
Failed to update FOREACH symbol value
|
||||
Reference in New Issue
Block a user