Hopefully a simple tcl question. We have up to seven alpha characters stored in a single variable. We need to sort the variable A-Z to limit the choices that are in a table. My tcl is weak.
I’m not sure I fully understand your question, but I will assume that you have a variable (myvar) whose value is “A D B F C E”. If so, you could simply make it a list and then sort the list; i.e.
Appreciate the replies and I will practice with this bit of tcl, but I did not really think my issue through well enough. Turns out there may be 1000+ combinations to choose from. Not something I wish to maintain a table for. I went the hard code route and is running OK.
Author
Replies
Viewing 4 reply threads
The forum ‘Cloverleaf’ is closed to new topics and replies.