Dear all, I have a problem with my code using the substitution. The code works perfectly without substitution however it does not work with substitution. I mean, I got the results of sub, sub and sub. But using the code replacement, I got sub = sub = sub, which are not true. Please help me fix this problem. Thank you.