General information
Category:
Coding, syntax & commands
>Joe,
>
>I think Sergey's solution is actually a bug in VFP. It should be treating " ' and [ all absolutely the same.
The VFP7 Help seems to be mute on the functionality of ", ' and [] within constants. It does mention, under creating character expressions, that a string containing doube-quotes and/or apostrophes can be created using the {} pair.
However, Hacker's (for 7) mentions a compelling reason why these perform differently when defining constants. My opinion is that they have a point and that their differing results are more by design than a bug.
>
>I think this is a better solution.
"Better" is very subjective. Coding style is highly personal. All methods that work to give the desired result as far as constants are concerned are legitimate to me.
Jim
>
SNIP
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only