>Anyone remember how to change *!* to *-- ? I read about it, but where?
I knew I had seen that before too so I just had to find it.
This is from the vfpxfaq.txt in the vfp98 installation folder:
-------------------------------
Question 4-13: Can I customize the comment marks used to comment out syntax in an edit window?
Answer: Visual FoxPro does not directly support changing this option through the user interface, however, you can manually change this setting by adding a new setting to the Windows Registry. First, open the Registry using RegEdit (type RegEdit in the dialog prompted from Windows Start -> Run... menu). Next, locate the following Registry key.
HKEY_CURRENT_USER\Software\Microsoft\VisualFoxPro\6.0\Options
You should see a number of familiar settings in the viewing pane on right-side. These are the settings saved from the Visual FoxPro Options dialog. To add the new comment mark, select New -> String Value from the Edit menu and type in the following value:
EditorCommentString
Finally, double-click on this new Registry entry and add the new comment mark that you want to use (by default, Visual FoxPro uses *!*). Make sure your entry starts with an * since this denotes a comment in FoxPro code when compiled.
-------------------------------
I have not actually done it so let me know if it really works.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement