Functions


Overview

 

A function is a set of statements grouped together under a name and can be called from anywhere within a program. Deluge Scripting supports Functions, using which we can structure the coding done in deluge script, in a more modular way, accessing all the potential that structured programming can offer. Related functions can also be grouped under a common category based on their purpose, called namespace, which helps in easy maintenance.

 

Deluge functions can be invoked from form/field action scripts. In addition to this, 'functions' has the potential to be integrated into various GUI actions, taking the scripting integration in Zoho Creator to next level. It makes the applications created in zohocreator much more powerful and alive. As a first step, it is integrated into views under the terminology Custom Actions. It enables the user to invoke specific function on a selected record in a view.

 

 

Advantages of using Deluge functions

Refer the following links to learn how to define and invoke functions, configure functions as custom actions in view and sample code.