PotterHarry Posted August 19, 2010 Report Share Posted August 19, 2010 Hi there... I am chasing my tail on this one. At run time I am getting the error "Undefined variable or the variable is of the wrong type. %N72% Line 34" The line is Variable set integer %N72% to 0. This is happening in a macro called by the main macro. In order to work out what was happening I created a very simplistic macro with the same structure as the original. In the test macro I can freely add/remove/assign variables and I don't get this error. I have added the lines save variables and restore variables before and after the sub-macro. It still works although more slowly... Okay, In my original problematic macro, I cannot define N72 in the main macro. I double click on Variable Set Integer, Select variables (destination), Add, (type is set to integer) Variable name: N72. I see in bold: A variable name already exists or has invalid characters. So, If I open the list of variables there's a list of a dozen or so existing variables in there, none of which are N72. Why is this happening? Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.