 |
emnaki Wanderer
Joined: 12 May 2007 Posts: 59
|
Posted: Tue Sep 18, 2007 11:55 am
Variables do not expand in this situation |
Code: |
#LOOP 1,%numitems(@aflist) {#VAR affectnumtmp %i;#STW + {%concat(%format("&-10s",%item(@afnamelist,@affectnumtmp)),": ",%item(@aflist,@affectnumtmp))}} |
No matter what I replace @affectnumtmp (%i,local variables) with in %item method it is not expanded. The final result is always the literal @affectnumtmp (or %i). |
|
|
 |
gamma_ray Magician
Joined: 17 Apr 2005 Posts: 496
|
Posted: Tue Sep 18, 2007 2:08 pm |
Yes, #stw isn't expanding, I suspect this is on purpose, since often you want to have (unexpanded) variables in the status setting and let the status window do the expanding.
I think in this situation you're better off using a normal window, and either replacing the status window with it or docking it to the status window. |
|
|
 |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|