vault backup: 2024-05-30 18:33:46
This commit is contained in:
parent
e2e6f59df6
commit
411a900089
@ -114,6 +114,18 @@ function_name () {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
To execute a function, simply include the name of the function. To execute the above function:
|
||||||
|
```bash
|
||||||
|
function_name
|
||||||
|
```
|
||||||
|
|
||||||
|
To declare a local variable in a function, prefix the declaration with the `local` keyword.
|
||||||
|
```bash
|
||||||
|
function_name () {
|
||||||
|
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
## Commands
|
## Commands
|
||||||
| Command | Description |
|
| Command | Description |
|
||||||
| ------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
| ------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||||
|
Loading…
Reference in New Issue
Block a user