Quote:
Originally Posted by FoxueR
Menu items start at 0, so it's probably better to initialize the choice to -1 or increment the menu items before storing them.
|
That is entirely upto the coder. You don't have to use the key (item) variable as the identifier. If option 0 is coded as "having not selected anything yet" then it will work just fine.
__________________