>When you enter code between brackets and u type the last bracket, the whole piece of code and the brackets is highlighted. How can u stop this from happening?
What is happening here is that the brackets are interpreted as string delimiters - whether you actually use them for a string, or for an array; unfortunately, VFP doesn't distinguish the two cases. You can turn syntax highlighting off (specifically for strings). This is the initial default, but I suggest you keep it on.
You can use parentheses for arrays, if you want to avoid syntax highlighting in this case.
Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)