Writenig LotusScript function

HiIs it possible to write LotusScript Function with arguments ?

For example function witch show DialogBox with function argument ?

How do that ?

Is it possible to run it from @formula ?

Thx

Subject: yes and no

You can define a function by using Function MyFunction(x as integer) as Integer…See Help for more info.

You can’t call a LS function via the formula lang. but could use the formula language to call an agent. You would have to store the input variables somewhere like a profile doc or notes.ini.

Howard

Subject: where declare ?

Where i shold declare it if i want to use it in few forms and pages ?How call it ?

Subject: RE: where declare ?

Read Domino Designer help. Place your functions in a script library. If you want to use the functions from a form for example, in the form’s “(Declarations)” event type this:

Use “YOUR_LIBRARY_NAME”

The functions will then be available to various elements and events within the form.

HTH