# r command (FlashBASIC Debugger)

The r command pops the top return stack
address of the local subroutine from the stack, causing the next return
command to return to the address revealed by the pop.

## Syntax

```
{flash.routine.name:} r
```
Note: *flash.routine.name* can only be
specified if the program has been optimized through the FlashBASIC
compiler. When *flash.routine.name* is specified,
the corresponding debugger command is executed
against the specified routine. The colon separating *flash.routine.name* and the debugger command is required.

## See also

- [BASIC/FlashBASIC Debugger](https://d3codex.com/flashbasicdebugger/basic-flashbasic-debugger/)
- [down command](https://d3codex.com/flashbasicdebugger/down-command/)
- [s command (FlashBASIC Debugger)](https://d3codex.com/flashbasicdebugger/s-command-flashbasic-debugger/)
- [up command](https://d3codex.com/flashbasicdebugger/up-command/)

---
Source: https://d3codex.com/flashbasicdebugger/r-command-flashbasic-debugger/ - part of the D3Codex reference.
