Create global functions

Hello

I would like to create Global Function inside PP Classic and would like to pass one parameter and return some numeric value from this function.

Can You tell me how to do this?

I don’t feel so comfortable with presstock.

For PP Classic questions you should visit this forum: www.objectiflune.com/forum2

Anyway, a global function with Press Talk looks like:

function @GlobalFunction1(arg1: string)

%return a value:
&result := return_value

endfunction()