The following code calls the `square` function, passing it an input parameter (`x`), and storing the return value in the `result` variable:
### ~hide
```
let x1 = 2
```
### ~
```
let result1 = square(x1)
```
Or this code, which displays the result of the `square` function (without first storing the value in a variable):
```
basic.showNumber(square(x1), 150)
```
### See all your functions
To see a list of the functions in a script, open the script and then click `script` (in the upper-right corner). All of the functions appear under the **code** heading. Click on a function to open it in the editor.