Hello Thomas,

Historians believe that Mon, 9 Jul 2001 at 15:24 GMT +0800 was when,
Thomas F [TF] typed the following:

JA>> The first level uses only one quotation mark:  "..."    or   '...'
JA>> The second level uses double delimiters:      ""...""   or  ''...''

TF> I hate to contradict you, but I think this is not quite correct.

I am correct, but maybe not very clear.  ;-)

TF> When you have two levels, I have noticed that it is important to
TF> use different kinds of quotation marks:

That's the point of doubling them up.  You need to make unique
delimiters for each level.

TF> ""..."" does not work, as it is interpreted as:
TF>  begin-end ... begin-end

No.  If the doubled double quotes are within a set of double quotes,
it is not interpreted the way you suggest.  See examples below.

TF> What works is this: " text 'quoted within'"

TF> Example: %Wrapped="%Cookies='file.txt'" (correct)
TF>          %Wrapped="%Cookies="file.txt"" (won't work)
TF>                             ^        ^

Yes, that's what I said.  From your example, there are four correct
options:

No single quotes
   %Wrapped="%Cookie=""file.txt"""
One set of single quotes
   %Wrapped="%Cookie='file.txt'"
   %Wrapped='%Cookie="file.txt"'
No double quotes
   %Wrapped='%Cookie=''file.txt'''

If you go to three levels, you have eight ways of doing the
delimiters.

No single quotes
   %WRAPPED="%ABtoMEMO=""%COOKIE="""file.txt""""""
One set of single quotes
   %WRAPPED="%ABtoMEMO=""%COOKIE='file.txt'"""
   %WRAPPED="%ABtoMEMO='%COOKIE=""file.txt""'"
   %WRAPPED='%ABtoMEMO="%COOKIE=""file.txt"""'
One set of double quotes
   %WRAPPED='%ABtoMEMO=''%COOKIE="file.txt"'''
   %WRAPPED='%ABtoMEMO="%COOKIE=''file.txt''"'
   %WRAPPED="%ABtoMEMO='%COOKIE=''file.txt'''"
No double quotes
   %WRAPPED='%ABtoMEMO=''%COOKIE='''file.txt''''''

-- 
Thanks for writing,
 Januk Aggarwal

Using The Bat! 1.53bis under Windows 98 4.10 Build 2222  A

Ok, who is General Relativity, and what did he do with Sir Newton?

-- 
______________________________________________________
Archives   : <http://tbudl.thebat.dutaint.com>
Moderators : <mailto:[EMAIL PROTECTED]>
TBTech List: <mailto:[EMAIL PROTECTED]>
Unsubscribe: <mailto:[EMAIL PROTECTED]>

You are subscribed as : [email protected]


Reply via email to