>Hi all,
>
>A while back, when getting into WebConnect, I found liberal use of square brackets where I had expected to see quotes (single or double). I knew these substituted nicely for parentheses in array coding but was totally surprised by this other usage.
>
>I've played around with these a bit and find them (square brackets) equivalent to quotes of either variety.
>
>Is this a correct conclusion?. . . Is this documented somewhere (a search of MSDN (July 2000) and Hacker's revealed virtually nothing)? . . . Are there things to watch out for?
>
>Thanks for any comments,
>
>JimN
From "Creating Character Expressions" in the MSDN help for VFP:
---------------------
You can embed quotation marks(" and ') in a character string by enclosing the character string within square brackets ([ ]):
STORE [Robert's Diner] TO cCompanyName
STORE [See the "Sunday Special"] TO cBanner
---------------------
I learned that trick a couple of years ago and it sure makes the code more readable.
-Henry-