Hello Krall, On Friday, March 22, 2002 at 3:35:51 PM you wrote in msgid:[EMAIL PROTECTED] (at least in part):
KEP> No matter what I do, the %IF always fails. Note that in the KEP> following I added some "debug" lines [...] KEP> %IF:"%SUBPATT='0'"='-':"Dear %OFromLName":"Hello %OFromFName " KEP> At this point, the false branch is always used, whether or not there KEP> was a dash in the last name or not. KEP> What am I missing? you can't encase the '%SUBPATT' into another macro without taking '%SETPATTREGEXP' and '%REGEXPBLINDMATCH' into the same level. What you do is (shortened macro names!): |- %SET |- %MATCH |- %IF |- %SUB '%SUB' has to be on same level as '%SET' and '%MATCH'. So your solution might be: %IF:"%SETPATTREGEXP='-'%REGEXPBLINDMATCH='%OFromLName'%SUBPATT='0'"='-':"Dear %OFromLName":"Hello %OFromFName " HTH Pit -- Regards Peter Palmreuther mailto:[EMAIL PROTECTED] (The Bat! v1.60 RC/2 on Windows 2000 5.0 Build 2195 Service Pack 2) ODAAT, we do what I can't. ________________________________________________________ Current Ver: 1.53d FAQ : http://faq.thebat.dutaint.com Unsubscribe: mailto:[EMAIL PROTECTED] Archives : http://tbudl.thebat.dutaint.com Moderators : mailto:[EMAIL PROTECTED] TBTech List: mailto:[EMAIL PROTECTED]

