The lib_input file consists of “pairs” of lines, a line of straight text to write to the mylib file followed by a line with the appropriate user prompt. So you may want to construct a loop that reads two lines at a time, doing the appropriate action with each line. |
REPEAT Read two lines, "text" and "prompt" Show "prompt" Read user's "answer" Append "text" and "answer" to story |