Log In    |    Knowledge Base    |    4D Home
Tech Tip: Writing Comments in 4D v6.5
Published On: February 25, 2000
Your current browser may not allow you to download the asset. We recommend Mozilla Firefox or Google Chrome.
Log In

When programming, you can write some notes to yourself or other programmers to remind you of what your code is doing. These notes are called "Comments".

To create a comment, in the method editor, start a line with the comment character (`) that looks like a reverse apostrophe. This character is found on large keyboards in the upper left corner, and on small keyboards next to the spacebar. It is on the same key as the tilde (~). The comment symbol tells 4D to ignore any text that follows on that line, so that 4D does not try to interpret and implement any of the text as programming. You can type anything you want (up to 80 characters in length).