# GetVariable

Retrieves value of a variable

## Method Signature

```
GetVariable(name=[string])
```

### Arguments

| Argument | Type     | Required | Description                      | Default |
| -------- | -------- | -------- | -------------------------------- | ------- |
| `name`   | `string` | `true`   | The name of the variable to get. |         |

## Examples

## Related

* [GetClientVariablesList](https://boxlang.ortusbooks.com/boxlang-framework/modularity/compat-cfml/reference/built-in-functions/system/getclientvariableslist)
* [GetComponentMetadata](https://boxlang.ortusbooks.com/boxlang-framework/modularity/compat-cfml/reference/built-in-functions/system/getcomponentmetadata)
* [GetContextRoot](https://boxlang.ortusbooks.com/boxlang-framework/modularity/compat-cfml/reference/built-in-functions/system/getcontextroot)
* [GetFunctionData](https://boxlang.ortusbooks.com/boxlang-framework/modularity/compat-cfml/reference/built-in-functions/system/getfunctiondata)
* [GetTagData](https://boxlang.ortusbooks.com/boxlang-framework/modularity/compat-cfml/reference/built-in-functions/system/gettagdata)
* [ObjectLoad](https://boxlang.ortusbooks.com/boxlang-framework/modularity/compat-cfml/reference/built-in-functions/system/objectload)
* [ObjectSave](https://boxlang.ortusbooks.com/boxlang-framework/modularity/compat-cfml/reference/built-in-functions/system/objectsave)
* [SetVariable](https://boxlang.ortusbooks.com/boxlang-framework/modularity/compat-cfml/reference/built-in-functions/system/setvariable)
* [Throw](https://boxlang.ortusbooks.com/boxlang-framework/modularity/compat-cfml/reference/built-in-functions/system/throw)
