Help with expected choice

There are at least three ways to display your code’s formatting on the forums.

  • After you copy-paste the code into the forums, select it all and press the gray button at the top of the input box that looks like </> . It’s called the “Preformatted Text” button.
  • The Preformatted Text button has a keyboard command associated with it. You could use it instead—while the code you want to display is selected, hold down Ctrl and Shift, then press C.
  • Write a trio of backticks both on a line before and a line after your code. A single backtick looks like ` (almost like an apostrophe that tilts the wrong way) and is normally on the same key that produces a tilde ( the squiggly thing that looks like ~ ). The trio should look like ``` .

I personally only use the third method, and I’ve found I must leave a blank line both above and below the backtick trios to maintain reliable formatting. I suspect that holds true for the other methods as well, though it’s possible they automatically add whitespace as required.

Now, on to your actual question: From your description of the problem, the *page_break in question is only supposed to exist inside the text displayed by a single #option, and is currently cutting the list of #options in half. Is this a correct assumption?

Continuing on that assumption, check the indenting of the *page_break to make sure it is a layer of indents deeper than the #option it is under. Like so:

*choice
    #Option 1
        (text)
        *page_break
        (text)
        *goto some_label
    #Option 2
        (text)
        *goto a_different_label

Note that everything you want to be displayed or triggered by an #option must be indented a layer deeper than the #option. This includes any text you write, as well as any commands you wish to use like *set or *goto.

1 Like