Determine whether or not a menu item is ticked. The state of the menu item is stored in an environment variable called ISTICKED.
ISTICKED dlg_id id
dlg_id Specifies the identifier of the dialog box that owns the menu. id Specifies the identifier of the menu item.
A return value of 0 indicated that the menu item is not ticked and a value of 1 indicated that the menu item is ticked.
Also see command TICK.