See this Comm Center thread by Tim Long. They got it right, and I originally did something silly. SkyMath.MinorPlanet() decides whether the input is a name or elements by looking for 10 or fewer characters. Egad. SkyMath.Comet() uses 50 characters. Much more reasonable. Both types of elements are much longer.Change the interface to include parameter for name and elements then decide based on which one is live. No need for a manifest constant. Don't forget to change the SkyMathTest and do the test!! Use a "long" minor planet name. |