A
AMT2K5
Hello,
I have an assignment to do in class which requires me to create a
single line editor not a multi-line editor.
I am confused about what this means, I would appreciate any
clarification.
"IF "TB" is false (0): [single line edit]
Pressing TAB and ESCAPE will terminate the cio_edit(). If ESCAPE is
used, then editing is aborted - the string is left containing the data
originally passed to cio_edit();
Well, so far I have
case ESC_KEY:
if(!TB){end = 1;}
else{ //string must contain original data and forget
editing?}
break;
I am unsure if that is exactly what this assignment wants and how
abouts I would do that.
Thanks in advance.
I have an assignment to do in class which requires me to create a
single line editor not a multi-line editor.
I am confused about what this means, I would appreciate any
clarification.
"IF "TB" is false (0): [single line edit]
Pressing TAB and ESCAPE will terminate the cio_edit(). If ESCAPE is
used, then editing is aborted - the string is left containing the data
originally passed to cio_edit();
Well, so far I have
case ESC_KEY:
if(!TB){end = 1;}
else{ //string must contain original data and forget
editing?}
break;
I am unsure if that is exactly what this assignment wants and how
abouts I would do that.
Thanks in advance.