17.5 Subroutine

The subroutine is a function which executes a specified action on the occurrence of events, such as pressing the button or clicking the object.

The subroutine can be utilized in diverse functions of CimonD as follows; Script, touch feature of the object, action in the button object, hot-key, page open/close action, schedule action, and user LogIn/LogOut action.

To use several commands in a single action, you may write the subroutines in different lines as shown below.

If you wish to enter the commands in a single line, you may use two semicolons (;;) to distinguish the subroutines.

Â