In reply to Greg Lee.

Again, solved it. Sorry, I guess posting is acting as a stimulus. I initialised the scalar before the do loop and then added a "*" to it in every loop.

Ciao