sc_appmenu_reset("Menu_Name")

The sc_appmenu_reset() macro resets the internal array used in the dynamic creation of a menu application. It clears all items previously added through macros like sc_appmenu_add_item().

This macro expects the name of the menu application as its only parameter.

Example


// Example 1: Resets the structure of the "menu_main" application
sc_appmenu_reset("menu_main");