Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ToolBox Question
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01402450
Message ID:
01402452
Views:
62
Check http://fox.wikis.com/wc.dll?Wiki~IntelliSenseCustomScripts~VFP#HEADERINFO

wtitle(wontop())

>Fox Gang,
>
>I am trying to add the name of the method or program that I am dropping a text snippet into using the Text Merge capability. Does anyone have any idea how to do this? Below is the snippet.
>
>Thanks,
>
>Steve
>
>In the snipet below, I had to replace all the angle brackets with square brackets because the UT message system thought they were HTML tags. Replace all [ with < and all ] with >.
>
>*------------------------------------------------------------------------
>* Program : **This is where the Program or Method name should go**
>* Author : [[CHRTRAN(ALLTRIM(RIGHT(SYS(0),LEN(SYS(0))-AT("#",SYS(0)))),"."," ")]]
>* Date : [[datetime()]]
>* Copyright : Company Name [[ALLTRIM(STR(YEAR(DATE())))]]
>* Description:
>* Rev Info : [[DTOC(DATE())]] - [[CHRTRAN(ALLTRIM(RIGHT(SYS(0),LEN(SYS(0))-AT("#",SYS(0)))),"."," ")]] - Created
>* Arguments : None
>* Returned : Nothing
>* Notes : None
>*------------------------------------------------------------------------
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform