Keeping all functions at one place

Discussion, questions and support.
Post Reply
prasad383
Posts: 19
Joined: Oct 18th, ’19, 14:43

Post by prasad383 » Jun 3rd, ’20, 10:02

Can we create a entry in start menu and keep all functions in it? And then is it possible call these functions from other entries (text expander / shortcuts)?. I tried but it says "Lables must not point to a function".
User avatar
Marko
Posts: 1719
Joined: Mar 2nd, ’13, 21:02

Post by Marko » Jun 3rd, ’20, 21:19

I tried and it worked with "return" in the first line.
First item:

Code: Select all

msgbox % Func(100)
Second item:

Code: Select all

return
Func(x){
    return % x*3
}
Post Reply