mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-15 14:54:07 +10:00
WIP: Started on break & continue, needs Toy_Array in Toy_Value first
This commit is contained in:
19
.notes/break-continue-theory.toy
Normal file
19
.notes/break-continue-theory.toy
Normal file
@@ -0,0 +1,19 @@
|
||||
while (a) { //stored in an array
|
||||
while (b) { //stored in an array
|
||||
while(c) { //stored in an array
|
||||
|
||||
//just peek at the array's top
|
||||
continue;
|
||||
|
||||
//these are stored in a second array
|
||||
break;
|
||||
break;
|
||||
break;
|
||||
} //breaks are updated here
|
||||
|
||||
//but what about these?
|
||||
break;
|
||||
break;
|
||||
break;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user