Originally Posted by
christinandavid
Have been messing around with my Doomsday Macro and have found something peculiar...if I try to pass too many arguments the values start getting mislaid. More specifically, I and J seem to be being ignored/lost and U value ends up where D should be. This seems to occur when I specify 10+ arguments.
This has had me scratching my head and looking for a problem in the logic, though it did force me to tidy up the program..which is a good thing.
Thought I had solved the problem by transferring the values to the common variables before doing any calculations - but apparently not. The only way I have found around it is to place the arguments in a specific order (specify I and/or J first) at the macro call. All other arguments go through okay in both cases, even when I specify the maximum 21...
Wondered if anyone had come across this and knew a) why it happens and b) a way around it? I don't wan't to have to worry about keeping exactly the right format for every combination of arguments.
(Fanuc 31i)
DP