Procedures and functions

<< Click to Display Table of Contents >>

Navigation:  Basic concepts >

Procedures and functions

 

Like most programming languages, GP Script supports procedure and unction calls. The only difference between a procedure call and a function call is that the latter can return a value. Many languages don't distinguish this difference and just use the term function for both of these concepts. We will adopt this convention as well.

The purpose of functions is to encapsulate code that can be used more than once, changing only the parameter arguments for each invocation.

There are two levels of functions available in Gig Performer

1.System

2.User