Basically the code was referencing var[-1] it wasn't using it but also did not need to be set in those cases. So I moved the assignments so it skips the -1 case. Kent
Basically the code was referencing var[-1] it wasn't using it but also did not need to be set in those cases. So I moved the assignments so it skips the -1 case. Kent