Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Square brackets
Message
From
26/04/2001 12:39:33
 
 
To
26/04/2001 10:26:04
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00500093
Message ID:
00500213
Views:
21
>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

The Square brackets date back to FoxBase+, I think. In FoxPro Dos/Win, the use of them fell out of general use although they have always been supported. I use Square brackets whenever possible because of the easy of reading. Square brackets are easier to see than single quotes and if your text string has an apostrophe, this blows the single quotes.
Fred Lauckner

You know, it works on my computer. I don't know what your problem is.

.Net aint so bad.
Previous
Reply
Map
View

Click here to load this message in the networking platform