create_menu()

The create_menu() function is used to create a dynamic menu. It does not require any arguments.

 

It generates a menu_id (of INTEGER data type) which is then used as a reference for adding options and submenus. This function can be used in the following way:

 

LET menu_id=create_menu()

 

In this case the variable ‘menu_id’ will contain the integer which identifies this menu.