Hi all,
I'm a little new to TCL, and maybe it's VERY simple (which I guess it is), but I can't seem to figure it out, here's my problem:
I got a loop which outputs all companies in a game with their current value, the loop code can be found in the attachment...
The output is like this:
#1 is Example Transport (Red) with a company value of: 75620
#2 is Example Transport2 (Green) with a company value of: 632689
Now, the list can be pretty big offcourse depending on the number of companies / players in the game, but what I would like to do is to make a high score based on company value, so I would like to sort on company value which puts the company with the biggest company value on top.
Could someone please point me in the right direction?
Thanks
Frank
I'm a little new to TCL, and maybe it's VERY simple (which I guess it is), but I can't seem to figure it out, here's my problem:
I got a loop which outputs all companies in a game with their current value, the loop code can be found in the attachment...
The output is like this:
#1 is Example Transport (Red) with a company value of: 75620
#2 is Example Transport2 (Green) with a company value of: 632689
Now, the list can be pretty big offcourse depending on the number of companies / players in the game, but what I would like to do is to make a high score based on company value, so I would like to sort on company value which puts the company with the biggest company value on top.
Could someone please point me in the right direction?
Thanks
Frank