Insert different variables depending on the condition #2855
IvanIsak2000
started this conversation in
General
Replies: 1 comment 4 replies
-
It's not really clear to be what aspect of Textual you're asking about here, I could read this a few ways. Do you think you could try and reword the question, perhaps with some sort of illustrative example? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
For example, I have 5 different lines of text and I want one line to be output through Label from some condition.
Of course, I could write 5 different classes, each class would produce its own string, but I want to make a general class, and so that the
compose
function of this class receives a variable and prints it, how can I do this?Beta Was this translation helpful? Give feedback.
All reactions