# Increasing indent not allowed, expected 0 was 1

**URL:** <https://forum.choiceofgames.com/t/increasing-indent-not-allowed-expected-0-was-1/35950>\
**Category:** ChoiceScript Help\
**Created:** [March 1, 2018, 11:32pm UTC](https://forum.choiceofgames.com/t/increasing-indent-not-allowed-expected-0-was-1/35950 "2018-03-01T23:32:01Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Guillaume\_Gilbert](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/guillaume_gilbert/32/85121_2.png) [@Guillaume\_Gilbert](https://forum.choiceofgames.com/u/Guillaume_Gilbert)\
**Post date:** [March 1, 2018, 11:32pm UTC](https://forum.choiceofgames.com/t/increasing-indent-not-allowed-expected-0-was-1/35950/1 "2018-03-01T23:32:01Z")

</div>

I only very recently started codig in CSIDE and I keep getting this error message “increasing indent not allowed, expected 0 was 1”.  
So if any of you knows why it keeps doing this, I’d appreciate the help.

 ![Capture](https://global.discourse-cdn.com/choiceofgames/original/3X/f/e/fe7f24e4f506fc8caf99af963a0e3f7bd2e0e0a0.PNG)

---

<div class="post-metadata">

**Author:** ![CJW](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/cjw/32/111787_2.png) [@CJW](https://forum.choiceofgames.com/u/CJW)\
**Post date:** [March 1, 2018, 11:45pm UTC](https://forum.choiceofgames.com/t/increasing-indent-not-allowed-expected-0-was-1/35950/2 "2018-03-01T23:45:49Z")

</div>

Could you please post your code?

---

<div class="post-metadata">

**Author:** ![Guillaume\_Gilbert](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/guillaume_gilbert/32/85121_2.png) [@Guillaume\_Gilbert](https://forum.choiceofgames.com/u/Guillaume_Gilbert)\
**Post date:** [March 2, 2018, 12:37am UTC](https://forum.choiceofgames.com/t/increasing-indent-not-allowed-expected-0-was-1/35950/3 "2018-03-02T00:37:59Z")

</div>

![Capture](https://global.discourse-cdn.com/choiceofgames/original/3X/f/e/fe7f24e4f506fc8caf99af963a0e3f7bd2e0e0a0.PNG)

---

<div class="post-metadata">

**Author:** ![Omegareaven](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/omegareaven/32/46502_2.png) [@Omegareaven](https://forum.choiceofgames.com/u/Omegareaven)\
**Post date:** [March 2, 2018, 3:30am UTC](https://forum.choiceofgames.com/t/increasing-indent-not-allowed-expected-0-was-1/35950/4 "2018-03-02T03:30:50Z")

</div>

Well I can’t read your code as its to small, but it most likely means you have either code of prose that is either spaces or indented, but should have neither.

---

<div class="post-metadata">

**Author:** ![Szaal](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/szaal/32/112202_2.png) [@Szaal](https://forum.choiceofgames.com/u/Szaal)\
**Post date:** [March 2, 2018, 3:54am UTC](https://forum.choiceofgames.com/t/increasing-indent-not-allowed-expected-0-was-1/35950/5 "2018-03-02T03:54:46Z")

</div>

You don’t have to indent the `choice`. Instead, indent the option (`#`) only.

---

<div class="post-metadata">

**Author:** ![TSSL](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/tssl/32/49833_2.png) [@TSSL](https://forum.choiceofgames.com/u/TSSL)\
**Post date:** [March 2, 2018, 4:53am UTC](https://forum.choiceofgames.com/t/increasing-indent-not-allowed-expected-0-was-1/35950/6 "2018-03-02T04:53:28Z")

</div>

As Szaal says, it should look more like

```
*choice
  #This is an option.
```

I also notice that you don’t have any text _under_ the choice, which looks like it’ll be a problem once you change that. You’d want something like…

```
*choice
  #This is an option.
    This is what happens if you choose it.
    *goto nextstuff
  #This is another option.
    This is what happens if you choose that one.
    *goto nextstuff

*label nextstuff
This is the next stuff.
```

If you don’t want to worry about `*goto` and `*label` you can use `*fake_choice` instead of `*choice` and get rid of the labels and gotos.

---

<div class="post-metadata">

**Author:** ![Guillaume\_Gilbert](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/guillaume_gilbert/32/85121_2.png) [@Guillaume\_Gilbert](https://forum.choiceofgames.com/u/Guillaume_Gilbert)\
**Post date:** [March 2, 2018, 2:26pm UTC](https://forum.choiceofgames.com/t/increasing-indent-not-allowed-expected-0-was-1/35950/7 "2018-03-02T14:26:41Z")

</div>

Thank you ! ( 20 characters )
