> For the complete documentation index, see [llms.txt](https://docs.r.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.r.xyz/glider-ide/api/variables/variable/variable.source_code.md).

# Variable.source\_code()

`source_code() → str`

## Query Example

```python
from glider import *


def query():
  state_variables = (
    StateVariables()
    .exec(5)
  )

  print(state_variables[0].source_code())

  return state_variables
```

## Example Output

<figure><img src="/files/ZLCrFZVZAuZudd37NoWl" alt=""><figcaption></figcaption></figure>
