Increasing indent not allowed, expected 0 was 1

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

Could you please post your code?

Capture

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.

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

3 Likes

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.

5 Likes

Thank you ! ( 20 characters )

1 Like