Open main menu

CDOT Wiki β

Changes

CMenu pseudo code - OOP344 20113

148 bytes added, 23:57, 29 November 2011
no edit summary
{{OOP344 Index | 20113}}
This pseudo code is tested but is NOT the most efficient way to accomplish the task. Optimize it if possible.
<big><pre>
/* EDITING LOOP */
LOOP UNTIL editing is done
Draw the Menu
Set editing loop to end.
/*-- BROWSING THE MENUITEMS IN MNEU --*/
/* BROWSING LOOP */
LOOP UNTIL menu browsing is done
Edit the current menu item and get the key returned