My logic got in the way … i use $Pos in multiple locations in the same <% loop %> and i was looking to start/define it once before the loop (which is how i would originally define a count iterator in a php loop)
In my original question I simplified my example code for brevity, but your answer got me to where i needed… for the benefit of other people who may find this… what my actual solution is:
<div class="carousel-indicators">
<button data-bs-target="#carouselWidget" data-bs-slide-to="0" aria-label="Go to slide 1" class=""></button>
<button data-bs-target="#carouselWidget" data-bs-slide-to="1" aria-label="Go to slide 2" class="active" aria-current="true"></button>
<button data-bs-target="#carouselWidget" data-bs-slide-to="2" aria-label="Go to slide 3" class=""></button>
</div>
Its awesome that you can use the same variable $Pos in multiple instances and give each one a unique start Index … you can see in my example the data-bs-slide-to variable starts at zero - but the aria-label starts at 1 (default) which makes more sense for a label.