Lotus Script Basic Question?

Dear All,

I am new to Lotus script programming language, In Below basic program :

Sub Click(Source As Button)

Messagebox(" Hello World")

End Sub

What is the meaning of SUB??

Please provide the details on the same.

Thanks

Vijay

Subject: Lotus Script Basic Question???

Subject: Lotus Script Basic Question???

It means subroutine, a small piece of script that will run when called. It could be an agent, part of an agent, inside a script library with other subs, or in the click event of a button.

A sub does not return a value, as function does.

Hope that helps.

Subject: RE: Lotus Script Basic Question???

thanks Matt Smith…