Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Comment Block
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00365580
Message ID:
00365612
Views:
13
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform