Hi!
Thank you for your help, unfortunately the changes that needed to be done are pretty coplex, although I understood the instructions changes properly, thanks!
P.D: As a matter of fact, it amazes me that, the code the other user was trying to migrate.. is the same as I am, just looking at the portion you converted. So I'm working on the same type of machine, in another place, 7 years later :D