s@name = sprintf('%04d',@primnum);
padzero doesn't work in vex, so you have to use sprintf and the `%04d` method - don't forget those little backticks