This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
functions:mod [2017/07/15 15:13] – korshun | functions:mod [2017/07/15 15:13] (current) – korshun | ||
---|---|---|---|
Line 29: | Line 29: | ||
Using mod to implement menu cycling easily: | Using mod to implement menu cycling easily: | ||
- | </code> | + | < |
if (KeyPressed(BT_DOWN)) | if (KeyPressed(BT_DOWN)) | ||
menuindex++; | menuindex++; |