By trial and error my lab partner and I noticed a pattern in the failures and it seems as if the
position of the cursor needs to be associated with the prompt, '>' .
Adding an addition CR to the write to variable string fixed it up.
wbg
position of the cursor needs to be associated with the prompt, '>' .
Adding an addition CR to the write to variable string fixed it up.
wbg