Help wanted! -- Reply -- Reply
To Robert Craig and all others interested:
I found out the answer to at least one of my questions. The while statement
in the input-loop should read: while input[1] != GET_SUCCESS do ...
Now the program behaves the same under DOS as from ed.ex.
There is still the question: what is returned when you answer the
statement:
input = get(0) with a single <ENTER>.
It looks like nothing is returned. Maybe get(0) should be replaced by a
function that also sees the enter key as invalid input. In ed.ex there is a
function, I think it is called get_num_keys or something like that, which
would be better for the above mentioned purpose.
Maybe later you will hear more from me!
Ad Rienks.
|
Not Categorized, Please Help
|
|