|
charneus Wizard
Joined: 19 Jun 2005 Posts: 1876 Location: California
|
Posted: Thu Jan 27, 2011 7:33 am
[3.33a]BUG?: #FORALL and () |
For some reason, doing the following:
Code: |
#FORALL "A|B|C|(|D|E|F|)" {#SAY {%i}} |
will display
instead of the expected:
Is this a bug, or am I missing something? Quoting it doesn't work, either (not that it should matter since it's already IN quotes...). If I take out the end ), then it displays just fine, by the way... |
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Thu Jan 27, 2011 6:38 pm |
It's because of some left over backwards compatibility with older versions of CMUD where the () in a list was used to indicate a nested list. Even in a literal string. I might eventually remove this compatibility because the 2.x versions of CMUD were such a mess when it came to nested lists. But that's what is causing it.
|
|
|
|
|
|
|
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
|
|