Choose your language

Choose your login

Support

Using functions

This page applies to:

If you have variable definitions that are quite complex, or are going to be reused within your script, it is best practice to define these variables as a separate function . The variables in the estimateCost(order) function can then reference these functions to simplify your script. You can define any functions you want, however, below are some example functions you might find useful:

Comments