Solved
1. Use vi not v in the while test. (Set initial value for i)
2. Don't reassign v to vi at the end of the while loop.
See attached.
Alan
Welcome to the PTC Community
No account yet? Create an account
Please use your PTC eSupport account.
LoginEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.

