A) I was using a zip I DL'ed on 04/16, which was after the supposed "/newif" change about it barfing if it couldn't parse the conditions. I read that change entry on the 15th (yes, I read these boards multiple times a day, including the manual and changelogs) Since there were no commented changes to /newif in 04/17 or 04/19, I didn't think a new version would matter.lax wrote:Get the latest zip.
${Me.Name} is a string
Tell me how to parse this:
/newif Supercallifragilisticexpialadocius /echo TRUE
/newif in any zip from 20040415 and later will not behave the way you say.. the notice in this forum says please do not post bug reports from old zips. locking thread
b) to parse /newif sldfskldfhsdjfhsd /echo TRUE, you may have to change the logic of your variable replacement. I'm not sure. But I'd say you shouldn't replace ${SomeString} with the contents of the string, except where it specifically should be (ie: inside "" or on an /echo line, which has assumed quotes)
/newif ${Me.Name} {} or any other ${} that is a string, should be simply checked for definition. You shouldn't interpolate the value as that is almost never what is wanted. When would it be? when it's inside "" or on an /echo line. Otherwise, it doesn't make sense.
The latest zip still does the "wrong thing" when it comes to this case, but it does barf with a warning.
Lax, I know you are busy and have a short fuse regarding "newbies" and idiots who don't read the manual and ask stupid questions or whatever, but man oh man, you are lock happy.
Locking a thread with "get the latest zip" is a knee jerk reaction and should only be used for seriously stupid questions like "MQ doesn't work since the patch"
However, when someone posts a valid bug, one that no "changelog" states has been fixed, telling someone to "get the latest zip" and locking the thread is simply assinine and rude.
Especially when you ask a question in your post. How am I supposed to answer your question in a locked thread?
There is a behavior that is wrong and counterintuative. I pointed that behavior out. Lets DISCUSS the situation and come to a solution, not just slam the door and lock threads, ok?



