Rob
Ansys Employee

Not sure, my UDF coding isn't overly good, and I don't think I ever used FOR or WHILE in a code.  Will FOR  fail the block & move on for when i isn't 0, but WHILE moves onto i<2 when i isn't 0?  Just been reading an online C manual for my own benefit.