> 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/argumentvariable/argumentvariable.index.md).

# ArgumentVariable.index

Returns the position of the argument variable in the function signature. The index represents the argument variable's position, starting from 0.

`property data: Dict`

## Query Example

```python
from glider import *


def query():
  functions = (
    Functions()
    .exec(1, 50)
  )

  for func in functions:
    args = func.arguments()
    print(f"Argument index: {args.list()[0].get_variable().index}")
    
  return functions
```

## Example Output

<figure><img src="https://2237101709-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDX4Ojc4j1ef51TUAtYOx%2Fuploads%2FPfabrG6cFl83VBUKq75T%2FScreenshot%202025-09-10%20at%204.54.58%E2%80%AFPM.png?alt=media&amp;token=d87b8653-1b5d-46f1-8a95-17ca7e2ee8c8" alt=""><figcaption></figcaption></figure>
