-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Keith,

@15 June 2002, 13:37:23 -0600 (20:37 UK time) Keith Russell wrote in
[EMAIL PROTECTED]">mid:[EMAIL PROTECTED]

>>> %To=""%To="""%OFROMNAME on TBUDL"" <[EMAIL PROTECTED]>"

>> These are embedded literal quotes.

> I guess you're saying that the embedded quotes will be displayed, to
> give something like:
>      "Marck D Pearlstone on TBUDL" <[EMAIL PROTECTED]>

Yes.

> as opposed to:
>       Marck D Pearlstone on TBUDL <[EMAIL PROTECTED]>
> which would result from:
>       %To=""%To=""%OFROMNAME on TBUDL" <[EMAIL PROTECTED]>"

> Am I right?

Actually - no! This won't work at all. It results in:

%To=""     ; Blank the To field
%To=""     ; Blank the To field again
%OFROMNAME on TBUDL" <[EMAIL PROTECTED]>"
           ; Include the literal string in the message, quotes and
             all.

>> However, that macro could have been written: %To=""%To='"%OFROMNAME
>> on TBUDL" <[EMAIL PROTECTED]>', which makes much more sense.

> Yes, the same as Allie's suggestion, which is easily understandable,
> but does NOT have the "embedded literal quotes", unless I've
> misunderstood.

You have. Doubling up of embedded quotes is only necessary when the
string delimiter is the same quote type. When using single quotes as
the string delimiter, double quotes can be embedded without having to
double them up, but single quotes would have to be double. (Huh?
What?).

%To=""%To="""%OFROMNAME on TBUDL"" <[EMAIL PROTECTED]>"
%To=''%To='"%OFROMNAME on TBUDL" <[EMAIL PROTECTED]>'
%To=""%To="'%OFROMNAME on TBUDL' <[EMAIL PROTECTED]>"
%To=''%To='''%OFROMNAME on TBUDL'' <[EMAIL PROTECTED]>'

Variant 3 and 4 are complete nonsense because you can't use single
quotes as delimiters in To: fields.

> Would the following work and result in the literal quotes?

>       %To=""%To="'"%OFROMNAME on TBUDL"' <[EMAIL PROTECTED]>"

No, it wouldn't. It set's To: to a single quote and includes the rest
as text in the message body.

Use the one I gave (number two above).

> In fact, I think something like this (or the original), rather than
> the one you and Allie suggested, would be needed to avoid the

>     Allie C Martin on [TBUDl] <[EMAIL PROTECTED]>

> which is causing Allie problems, wouldn't it?

Yes.

- --
Cheers -- .\\arck D. Pearlstone -- List moderator
TB! v1.60q-5523848F0B1 on Windows 2000 5.0.2195 Service Pack 2
'
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7a-nr2b1 (Windows 2000)

iD8DBQE9C5yMOeQkq5KdzaARAskPAKCV7nUgYgE/On+QAnlq1YmyxJCpAgCeLywq
UEXWKn951dmpSMPQOyl/vmI=
=XsYZ
-----END PGP SIGNATURE-----



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

Reply via email to