Choose your language

Choose your login

Support

How can we help?

PaperCut's AI-generated content is continually improving, but it may still contain errors. Please verify as needed.

Lightbulb icon
Lightbulb icon

Here’s your answer

Sources:

* PaperCut is constantly working to improve the accuracy and quality of our AI-generated content. However, there may still be errors or inaccuracies, we appreciate your understanding and encourage verification when needed.

Lightbulb icon

Oops!

We currently don’t have an answer for this and our teams are working on resolving the issue. If you still need help,
User reading a resource

Popular resources

Conversation bubbles

Contact us

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