It was foretold that on Tuesday, November 13, 2001 at 11:17 PM, Januk
Aggarwal [JA] would type:

>>> %SUBPATT=1

JA> The problem isn't the regexp, it's the %SUBPATT macro.  Someone forgot
JA> their quotation marks.  ;-)

I should note, it seems TB's macro engine is a little more
unpredictable than the help file would suggest.  It would seem that TB
looks at the first character after the = and uses that to be the
argument delimiter.  In other words, the following are
equivalent: 

%TO="[EMAIL PROTECTED]"
%TO='[EMAIL PROTECTED]'
[EMAIL PROTECTED]

The third one can be confusing to say the least, but it works.  That
means that if you forget the quotation marks, TB will take the first
letter/character of your string and use that as the delimiter.  This
can lead to some very unexpected results.  Note: the rules governing
these new delimiters are the same as the traditional ones. For
example, if you want the character in your string, you must double it
up, etc. 

So be warned and be careful.

-- 
Thanks for writing,
 Januk Aggarwal

Using The Bat! 1.54/10 under Windows 98 4.10 Build 2222 A

Despite these words, this page is blank.


-- 
______________________________________________________
Archives   : http://tbtech.thebat.dutaint.com
Moderators : mailto:[EMAIL PROTECTED]
Unsubscribe: mailto:[EMAIL PROTECTED]

Reply via email to