S
schneider
as a biginner,
maybe I have a question already answered 1000 times but I do not know
how to find the answers.
problem:
depending on an input value, I would like to output greek characters
(f. e. those between U+03B1 to U+03C9. One way would be to define two
arrays: one with the possible input values ("abgde...") and a second
array with the corresponding values ("\u03b1\u03b2\u03b3...").
But I hoped I could skip the second by a computation, f.e. "g" has
index 2 in the first array, so output "\u03b1"+2.
This does not work (of course). But do I have a chance to "compute"
the output value?
Thanks
Hanspeter
maybe I have a question already answered 1000 times but I do not know
how to find the answers.
problem:
depending on an input value, I would like to output greek characters
(f. e. those between U+03B1 to U+03C9. One way would be to define two
arrays: one with the possible input values ("abgde...") and a second
array with the corresponding values ("\u03b1\u03b2\u03b3...").
But I hoped I could skip the second by a computation, f.e. "g" has
index 2 in the first array, so output "\u03b1"+2.
This does not work (of course). But do I have a chance to "compute"
the output value?
Thanks
Hanspeter