> 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/callable/callable.start_loop_instructions.md).

# Callable.start\_loop\_instructions()

Returns start\_loop instructions of the function/modifier.

`start_loop_instructions() →` [`Instructions`](/glider-ide/api/instructions.md)

The functions will return start\_loop instructions for all types of loops e.g. while/for.

start\_loop instruction is not a "real" instruction but rather an abstract one representing the start of the loop.

## Example

```python
from glider import *
def query():
  functions = Functions().exec(100)

  loop_instructions = []
  for function in functions:
    for instruction in function.start_loop_instructions().exec():
      # Return the starting loop instructions for each function
      loop_instructions.append(instruction)

  return loop_instructions
```

## Example output

<figure><img src="https://2237101709-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDX4Ojc4j1ef51TUAtYOx%2Fuploads%2FRAE5CJDnB8fcRLeLZHmZ%2Fimage.png?alt=media&amp;token=5bf4669a-fa89-4bfe-a10e-c7418a754d62" alt=""><figcaption></figcaption></figure>
