Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Black Code

Status
Not open for further replies.

DEDMOD

Programmer
Feb 1, 2001
721
US
Since I'm doing some serious coding today, I came up with another lightbulb experince just now. At the risk of giving others a laugh at how dense I am for not having figured it out, or read it before, here it is. I'd always wondered why parts of my code were sometimes colored black for a second or two when I typed ')' (in VFP 7). Suddenly while working on code which ended up being,

Code:
STR(ALLTRIM((INT(VAL(valofc)))))

I realized it was to let you see graphically what the extent of code covered by your parenthesis was. Just pay attention and you immediately know whether things match or not. Dave Dardinger
 
I've actually found this particularly useful when keying in a date or datetime constant. Sometimes I'll accidently close it with ")" instead of "}". VFP 7 responds by highlighting a rather large block of code. LOL

Ian
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top