.. highlightlang:: us .. index:: MnGetNewCommandID .. _mngetnewcommandid: MnGetNewCommandID ================= .. us.tag MnGetNewCommandID ENGLISH Menu :ref:`MnGetNewCommandID` returns a new identification number for a menu item. .. function:: nNewID = MnGetNewCommandID() .. us.return **Return Value** *nNewID* is the new command ID. .. us.comment **Comment** The ID is a number in the range 0 to 1023. The ID is used to connect a menu item with a UniScript function. .. seealso:: :ref:`overview-menus`, :ref:`MnSetCommand` :sub:`id-1722274`