How to make an enumeration E’Image shows as typed instead of being converted to UPPER or lower case? I want what I typed such as “BlackWhite” stays like that when I print it out on terminal or others. Looking around in Gnat I saw GNAT.Case_Util, which is supposed to be used by applications instead of System.Case_Util.
GNAT.Case_Util has only a procedure To_Mixed which preserved Capital letters for the beginning of the word or after underscore. Good for Ada style, not so good for parameters inherited from other languages. GNAT.Case_Util has a parameter of in out String, which Put_Line don’t like (compiler throws an error saying a procedure cannot be used as a parameter for a procedure). Meanwhile System.Case_Util package has a function of To_Mixed, which is not listed in GNAT.Case_Util package.
So back to the question, what should I do to get a displayed “BlackWhite”, “MediumRed” or “18Grey” instead of all upper or lower case?