21
edits
Changes
→int bio_flag(..........)
bio_flag() begins the selection by displaying the checkbox according to its '''“*status”'''. (Remember that the value of'''"*status"''' is corrected before the editing begins). Then the function waits for the user input.
* If the user input is any of the printable keys excluding space (' ' < key <= i.e. greater than space or less than or equal '~') excluding space, it should be ignored (no action taken or maybe you can beep!! ). If the user input is any of the function keys, the function is terminated returning the key.
* If the user input is SPACE:
** If '''“radio”''' is true, then the '''"*status"''' is set to one, checkbox is displayed and function is terminated returning space.