> 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()

`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="/files/FjtAcP5IdlBOBNESFkqS" alt=""><figcaption></figcaption></figure>
