Functions Library CodeSnippets - NewSub NewFunction

Started by Rolf Brandt, November 25, 2009, 06:51:05 AM

Previous topic - Next topic

Rolf Brandt

Just a small contribution:

A few small snippets to create new subs, functions, and descriptions. You could put them in the MySnippets folder. They are then accessible in the code editor via right mouseclick in the 'Insert Code Favorite' menu.

Inserted code looks like this:
'--------------------------------------------------------------------------------
' Description
'
'--------------------------------------------------------------------------------
Function New_Function_Name( param ) As WhatEver

End Function
Rolf Brandt
http://www.rbsoft.eu
http://www.taxifreeware.com
I cook with wine, sometimes I even add it to the food.
(W. C. Fields)

Haakon Birkeland

That reminded me of a few snippets I lost during beta stages â€" deleting older beta folders ...

I just re-created one of the snippets (expanding 3 dashes to a line of "continuous line" em dashes) and it is being inserted fine through the context menu, but FF don't seem trigger expansion of it.

"Solid line.inc"

'[NAME] ---
'[AUTHORNAME]
'[EMAIL]
'[WEBSITE]
'[VERSION]
'[ISFAVORITE] Yes
'[EXPAND] Yes
'[ISPROTOTYPE] No
'[KEYWORDS]
'
'[/KEYWORDS]
'[DESCRIPTION]
'
'[/DESCRIPTION]
'[CODESTART]
'â€"â€"â€"â€"â€"â€"â€"â€"â€"â€"â€"â€"â€"â€"â€"â€"â€"â€"â€"â€"â€"â€"â€"â€"â€"â€"â€"â€"â€"â€"â€"â€"â€"â€"â€"â€"â€"â€"â€"â€"â€"â€"â€"â€"â€"â€"â€"â€"â€"â€"â€"â€"â€"â€"â€"â€"â€"â€"â€"â€"â€"â€"â€"â€"â€"â€"â€"â€"â€"â€"â€"â€"â€"â€"â€"â€"â€"â€"â€"â€"
Haakon 8o)