Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Comment Block
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00365580
Message ID:
00365612
Vues:
14
>Perhaps I missed it, but there seems to be no way to do a comment block in VFP other than commenting each line with * or NOTE.
>
>In some other languages, you can use syntax like /* ... */ to form a block. In FoxPro, perhaps something like COMMENT ... ENDCOMMENT would work. Is this a new Wish List item?
>
>I've done things like IF .F. ... ENDIF but what goes in between can still cause compile errors, etc. if it doesn't fit FoxPro syntax.

I have the following in my CONFIG.FPW - so all I have to do is hit f5, and get a comment block...

COMMAND=On key label f5 keyboard '*'+repl('-',25)+'{ENTER}* Author:{SPACEBAR}'+sys(0)+'{ENTER}* Date:'+ tran(datetime())+' {ENTER}* SR: {ENTER}* Description:{ENTER}*{SPACEBAR}{ENTER}*-{ENTER}'

It gives me the following...

*-------------------------
* Author: HOME_1 # wmyers
* Date:05/03/2000 11:04:02 AM
* SR:
* Description:
*
*-

HTH
Wayne Myers, MCSD
Senior Consultant
Forte' Incorporated
"The only things you can take to heaven are those which you give away" Author Unknown
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform