14980Re: [Clip] Understanding Writing Subroutines
- Apr 15, 2006Bob McAllister wrote:
> I guess that you could argue it to be "bad form" in some abstractI didn't realize that this was a custom function. I guess you are
> computer science sense, but it does happen to be how Eric wrote
> NoteTab. Have a look at the Custom Functions page in Clip Help where
> it is described as "an approach similar to the ^!Clip command".
correct and that won't go away. I also see what you say about passing a
It appears that the only way to pass a parameter is the highlight the
"parameter" so the parameter must be in your text document? I remember
trying to understand these a while back and thinking that it wasn't
worth the effort. Here is how I have taken to using "subroutines" and
as you see I am using an array to pass the parameters.
;set variables to be passed as parameters
^!If ^%count% <= ^%items0% Loop
^!InsertText ^%string% = ^%items%^P
- << Previous post in topic Next post in topic >>