Prompt with List Issue with more than 49 Items

Okay, sorry. Let me upload the macro instead. Here it is. I modified it to do something a little bit more useful so it might be more clear. This implements a little puzzle I learned as a kid. If a number is odd, you multiply it by 3 and add one, but if it's even, you divide by 2. Eventually it will return to 1 (this hasn't actually been proven by mathematicians yet, but seems to be the case.) Just start the macro and it will pick a random number and speak the sequence that it calculates. It should be fun to listen to. This macro stores the "state" of the calculation in a variable called "State" which can contain either the word "Even", "Odd", "Unknown" or "Quit".

This method can be quite useful. I use it nearly every day to solve problems. It avoids recursion. And I think it will solve your problem. If you don't like this new method, we can discuss the first method that I suggested.

Group Action (v11.0.3)

Group.kmactions (7.8 KB)

1 Like