Search code examples
foxpro

Foxpro Meaning Confusion


I couldn't think of a good title for this, so feel free to edit this for me.

I am very very new to Foxpro. We decided to use it because we are trying to upgrade database platforms and wanted something more sophisticated.

Unfortunately, the amount of documentation is very limited.

What is the meaning of *!*? Does the second asterisk end the comment?


Solution

  • It's just the start of a comment. If a line starts with *, the whole line is a comment no matter what follows.

    However, in the Visual FoxPro IDE, when you right-click and choose Comment, it starts the comment with !. That makes it possible to distinguish those comments from other comments.

    Oh, and you can set what string it uses for that purpose. Tools | Options, look in the Editor tab.

    Tamar