chapter 8 - some error handling
reset errno so later valid expressions with evalulate