|
Caled Sorcerer
Joined: 21 Oct 2000 Posts: 821 Location: Australia
|
Posted: Mon Sep 17, 2007 10:27 am
[2.03] - Bug: %ansi(xx) in #substitute |
This is probably already here somewhere, but I lost my net access for a while and there are way too many new posts to wade through trying to find it. I couldn't find anything on the first page anyway.
Sample prompt:
H:3460 M:3934 E:16200 W:18570 B:100% [eb]
#TR {H:(%d) M:(%d)*} {#substitute {H:%1|%2}} {prompt|nocr}
Works as expected, displaying:
H:3460|3934
as my new prompt, but:
#TR {H:(%d) M:(%d)*} {#substitute {H:%ansi(10)%1|%2}} {prompt|nocr}
Displays:
"H:3460"|3934
as my new prompt. Every time I use %ansi in it, "quote chars" get added.
My full prompt substitute trig (that was condensed to display the bug simply) displays:
"""H:3460""|""""3934 [eb] [] 0"|0 19:11:03:796
Which is clearly pretty odd, hehe. |
|
_________________ Athlon 64 3200+
Win XP Pro x64 |
|
|
|
Fang Xianfu GURU
Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: Mon Sep 17, 2007 11:03 pm |
Confirmed. Even fails with something like
#substitute {%concat("H:",%ansi(10),%1,"|",%2)} |
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Mon Sep 24, 2007 8:35 pm |
Confirmed and added to bug list. Looks like something to do with the new hashed string list processing.
|
|
|
|
Seb Wizard
Joined: 14 Aug 2004 Posts: 1269
|
|
|
|
|
|