# Stack Pointer Question

**URL:** https://forum.universal-robots.com/t/stack-pointer-question/20113
**Category:** URScript
**Created:** [March 24, 2022, 3:06pm UTC](https://forum.universal-robots.com/t/stack-pointer-question/20113 "2022-03-24T15:06:49Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![eric.feldmann](https://avatars.discourse-cdn.com/v4/letter/e/94ad74/32.png) [@eric.feldmann](https://forum.universal-robots.com/u/eric.feldmann)
#### Post date: [March 28, 2022, 1:07pm UTC](https://forum.universal-robots.com/t/stack-pointer-question/20113/5 "2022-03-28T13:07:09Z")

</div>

Take a look at this post:

> [@Jump Flag Program Node](https://forum.universal-robots.com/t/jump-flag-program-node/17355/4):
>
> [image] This might be closer to the behavior you are looking for then. Essentially, the subprograms label1 and label2 are your “Label” instructions and the script lines “lable1()” and “label2()” are your Jump instructions. These can be called from within each other as well. To insert a subprogram without the “Call” instruction, first select the main “Robot Program” line and then click “SubProg” from the left panel. Then just rename it to whatever you want to type in to jump there.

You can use this as a sort of “go to/label” method. This gets around the limitation of being unable to call a subprogram from inside a subprogram as well.

---

_[View the full topic](https://forum.universal-robots.com/t/stack-pointer-question/20113)._
