 |
chamenas Wizard

Joined: 26 Mar 2008 Posts: 1547
|
Posted: Sun Jun 27, 2010 2:03 pm
[3.20] BUG - %switch and %ansi conflict |
Try:
| Code: |
#win History %switch(1=2, %ansi( 12), 1=1, %ansi( 10))Test%ansi(reset)
|
You'll have to highlight the text in the history window, because it's actually black, not green.
| Code: |
#win History %switch(1=2, %ansi(12), 1=1, %ansi(10))Test%ansi(reset)
|
The above works just fine. The problem is that auto-formatting will convert this into the first posted script which makes it black. This ONLY seems to occur with %switch and possibly %if. |
|
|
|
 |
Zugg MASTER

Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Sun Jun 27, 2010 3:37 pm |
Please update to the 3.21 version and let me know if the problem still occurs.
|
|
|
|
 |
Tech GURU

Joined: 18 Oct 2000 Posts: 2733 Location: Atlanta, USA
|
Posted: Sun Jun 27, 2010 4:11 pm |
Confirmed. This still exists in 3.21.
|
|
_________________ Asati di tempari! |
|
|
 |
chamenas Wizard

Joined: 26 Mar 2008 Posts: 1547
|
Posted: Sun Jun 27, 2010 4:29 pm |
Tell me how to update to 3.21! It says 3.20 is the current version!
|
|
|
|
 |
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Sun Jun 27, 2010 5:10 pm |
Zugg felt rushed and uncertain due to a Drupal conference this weekend. To update, you need to find Zugg's 3.21 post that offers the link to the file and download it.
|
|
_________________ EDIT: I didn't like my old signature |
|
|
 |
chamenas Wizard

Joined: 26 Mar 2008 Posts: 1547
|
Posted: Sun Jun 27, 2010 5:20 pm |
I noticed it shortly after my post. Apologies and thank you.
|
|
|
|
 |
Zugg MASTER

Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Tue Jun 29, 2010 4:22 pm |
Added to bug list. Looks like I need to make the same change to %case and %switch that I did to %if to handle expressions.
|
|
|
|
 |
|
|
|