# I have not seen an error like this, what is it?

**URL:** https://forum.makecode.com/t/i-have-not-seen-an-error-like-this-what-is-it/22117
**Category:** Help
**Tags:** extension
**Created:** [August 28, 2023, 9:00pm UTC](https://forum.makecode.com/t/i-have-not-seen-an-error-like-this-what-is-it/22117 "2023-08-28T21:00:03Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![technonux](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/technonux/32/7924_2.png) [@technonux](https://forum.makecode.com/u/technonux)
#### Post date: [August 28, 2023, 9:00pm UTC](https://forum.makecode.com/t/i-have-not-seen-an-error-like-this-what-is-it/22117/1 "2023-08-28T21:00:03Z")

</div>

![Screenshot from 2023-08-28 21-35-10](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/7/71ae5a71594641fff2645648be98735b3441b9c8.png)  
 ![Screenshot from 2023-08-28 21-43-14](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/b/bc4d1b3d4706e702e7e2156d4f915a78e5b11bfa.png)

---

<div class="post-metadata">

### Author: ![Sarge](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/sarge/32/19590_2.png) [@Sarge](https://forum.makecode.com/u/Sarge)
#### Post date: [August 29, 2023, 4:47pm UTC](https://forum.makecode.com/t/i-have-not-seen-an-error-like-this-what-is-it/22117/2 "2023-08-29T16:47:55Z")

</div>

Could you share the code so I can take a look at it? This looks awfully lot like an internal MakeCode issue

---

<div class="post-metadata">

### Author: ![technonux](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/technonux/32/7924_2.png) [@technonux](https://forum.makecode.com/u/technonux)
#### Post date: [August 29, 2023, 8:00pm UTC](https://forum.makecode.com/t/i-have-not-seen-an-error-like-this-what-is-it/22117/3 "2023-08-29T20:00:36Z")

</div>

Seems like it just randomly fixed itself

---

<div class="post-metadata">

### Author: ![YuHayate](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/yuhayate/32/8275_2.png) [@YuHayate](https://forum.makecode.com/u/YuHayate)
#### Post date: [August 30, 2023, 4:47pm UTC](https://forum.makecode.com/t/i-have-not-seen-an-error-like-this-what-is-it/22117/4 "2023-08-30T16:47:24Z")

</div>

why are you using a while loop? use a for loop (you can still get “i” from the for loop)

```auto
for (let i = "StartValue"; i <= "end value"; i++) {
        
}

```

also if you whant to add one to a variable just do `var++` it adds one to var

---

<div class="post-metadata">

### Author: ![Sarge](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/sarge/32/19590_2.png) [@Sarge](https://forum.makecode.com/u/Sarge)
#### Post date: [September 1, 2023, 4:28pm UTC](https://forum.makecode.com/t/i-have-not-seen-an-error-like-this-what-is-it/22117/5 "2023-09-01T16:28:07Z")

</div>

Haven’t seen the code, but since it’s a code Parser it’s possible he needs to shift the index around, which you can’t do in a for loop if i’m not mistaken. Could be wrong, though
