List constructor with a variable of list elements?

  1. Thanks to @mr_piay, @jguille2, for your quick reply! Gràcies! And sorry that I did not explain my request so good that it would be understandable.
  2. @bh has read my mind like an execellent teacher. I wanted a way to create code.
  3. I rephrased my request in a new question here: How to select a variable number of columns of a table and return a table?

THANKS again,
matthias