On Fri, 11 Aug 2017, Dmitry A. Kazakov wrote: >> function Calculate(A, B, C: Integer; D, E, F: Float) return Numeric; >> -- returns either Integer or Float > [...] > > This looks awful to me. Well, I didn't say I would like that. But the OP asked for the ad-hoc creation of anonymous tuples, as in function Calculate(A, B, C: Integer; D, E, F: Float) return (Integer or Float); (without actually suggesting a specific syntax; the syntax is mine), and my point was, that if you want tuples for Ada, you should ask to define them as proper types, rather than as ad-hoc anonymous types. Stefan -------- I love the taste of Cryptanalysis in the morning! -------- www.uni-weimar.de/de/medien/professuren/mediensicherheit/people/stefan-lucks ----Stefan.Lucks (at) uni-weimar.de, Bauhaus-Universität Weimar, Germany----