Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Change *!* to *-- Can't remember where I read how to d
Message
 
À
20/09/1999 23:35:12
Cindy Winegarden
Duke University Medical Center
Durham, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00266960
Message ID:
00266967
Vues:
22
>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
Fil
Voir

Click here to load this message in the networking platform