 |
Anaristos Sorcerer
Joined: 17 Jul 2007 Posts: 821 Location: California
|
Posted: Thu Nov 15, 2007 1:35 am
Blank suppression when one uses %expandlist() |
The following snippet shows the general problem:
| Code: |
| #SHOW Spells Pending: %expandlist(@MissedList,", ") |
The result from this will be, for instance: Spells Pending:512, the blank between the colon and the output from expandlist() is suppressed.
If, instead, I do this:
| Code: |
| $line %concat("Spells Pending: ",%expandlist(@MissedList,", "));#SHOW $line |
the result is the same, the blank is suppressed.
If I insert a %char(32) to generate a blank, it is suppressed. In fact any non-visible character (I would say non-printable, but as we all know, blanks are printable) is suppressed.
It is my belief that there is some forcing code in %expandlist(), and I wonder why. |
|
Last edited by Anaristos on Thu Nov 15, 2007 1:38 am; edited 1 time in total |
|
|
 |
Fang Xianfu GURU

Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: Thu Nov 15, 2007 2:08 am |
Using 1.34? This is working fine for me in 2.11.
And also, you missed out the all-important equals in your example. |
|
|
|
 |
|
|
|
|
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
|
|