-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Allie, I'm going to take things a little out of order.
On Tuesday, January 16, 2001 18:28:13 -0500 you wrote the
following in regards to TB! v1.49 - newbie: quoting the output of
a regexp:
JR>> [...] I've tried the %WRAPPED= macro @ the
JR>> head of the above line & the result is the 2nd line moves to
JR>> the left most position whereas the 1st line is indented by 2
JR>> spaces. What am I doing wrong or is this the anticipated result
JR>> of %WRAPPED?
Allie> If you use the %Wrapped macro the line needs to be unbroken, i.e.,
Allie> %Wrapped="this should be one unbroken line of text"
Allie> The syntax should be as follows:
Allie> %Wrapped='On %ODATEEN %QINCLUDE="otime", you wrote the following in
Allie> regards to %QINCLUDE="bracket":'
This is exactly what I have & you see the result above. I would
have thought it would have wrapped to the starting margin, i.e.
indented by 2 spaces (where I like it) rather than to the
leftmost position permitted. I also tried the %WRAPJUSTIFY with
the same result.
Allie> On Tue, 16 Jan 2001 09:10:03 -0500, Jan contributed this to our
Allie> collective wisdom:
JR>> I was trying to put quotation marks around the output of the
JR>> regexp "bracket" but it produces a blank. Can anyone show me
JR>> the right way to express this & the logic behind the form?
JR>> On %ODATEEN %QINCLUDE="otime", you wrote the following in regards
Allie> ^^^^^^^^^^^^^^^^^
Allie> this is fine.
JR>> to %QINCLUDE="='bracket'":
Allie> Why not just %QINCLUDE="bracket": ?
Yes, under normal circumstances that's what I would have but
what I'm trying to accomplish is to have a "around the output
of the RexExp 'bracket'".
'Bracket' strips the eGroups list identifier, ex: [LIST],
leaving only the subject. So continuing with my example, let's
say the subject line for this msg (were it on eGroups) it might
be [TBUDL] TB! v1.49 - newbie quoting the output of a regexp
In my template I have replaced %OSUBJ with %QINCLUDE="bracket"
& would like to see the subject produced as:
On Tuesday, January 16, 2001 18:28:13 -0500 you wrote the
following in regards to "TB! v1.49 - newbie: quoting the output
of a regexp":
Allie> Why the extra '='? The extra '=' is needed for the %Quotestyle macro
Allie> specifically.
IOW, the only time this convention is used is for a %QUOTESTYLE
macro? OK, that's easy for me to remember.
Allie> If you create a macro that has a value attached to it, this value is
Allie> bound by double quotations.
Allie> %Macro="value"
Allie> Now, if you wish to define another macro *within* the value for a
Allie> macro, you have to place two quotations for every one that would
Allie> appears within the first macros value. Wow, confusing. :=)
Allie> Anyway, here is an example:
Allie> %Macro1="Macro2=""value"""
Allie> ^^ ^^
Allie> Note the doubled double quotations.
Allie> To avoid having a lot of doubled quotations you can do this:
Allie> %Macro1='Macro2="value"'
Allie> Basically you need to differentiate the recursed macros value from
Allie> that of the parent macros. In one case you use doubled double
Allie> quotations or you use single quotes for the parent macro and double
Allie> quotes for the recursed macro.
You've explained this very clearly, Allie, & I understand the
concept so then my macro statement should look like this?
%WRAPPED='On %ODATEEN %QINCLUDE="OTIME", you wrote the following in regards to
%QINCLUDE='"bracket"':'
(all on a single line)
- --
Jan Rifkinson
Ridgefield, CT USA
PGP-Key 0x4C9CDF9D
Using TB! v1.49
ICQ 41116329
-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5i
iQA/AwUBOmTxG5ccVS5MnN+dEQIwRACfU9XiINALmEh4gRaBNGpWm4VkAO8AoIzR
9/OSJup4Vr+zcfUuP3QTsCGl
=YE7i
-----END PGP SIGNATURE-----
--
--------------------------------------------------------------
View the TBUDL archive at http://tbudl.thebat.dutaint.com
To send a message to the list moderation team double click here:
<mailto:[EMAIL PROTECTED]>
To Unsubscribe from TBUDL, double click here and send the message:
<mailto:[EMAIL PROTECTED]>
--------------------------------------------------------------
You are subscribed as : [email protected]