I’m doing something wrong and I’m not sure what. I am trying to create an honorific variable, which I’m setting up like this, initially.
When your hair is as situated as you can make it, you head to your closet. A bit later, you emerge, dressed and ready to set out to face another day as a:
*create honorific
*create gender
*choice #Man
*Set gender “man”
*Set honorific “Mr.”
*Finish #Woman
*Set gender “woman”
*Set honorific “Ms.”
*Finish #Non-binary Person
*Set gender “non-binary person”
*Set honorific “Mx.”
*Finish
*page_break
This runs fine, per the quicktest.
However, the choice script page is encountering an error where is says “non-existent variable ‘honorific’”
Like @MeltingPenguins asks you need to make sure you declare what type of variable it is.
For example;
*create name ""
*create age 25
*create armed false
*set name "Matthew"
*set age 42
*set armed true
${name} is a ${age} year old writer.
*if (armed)
He is armed with a pen, which of course is mighter than a sword.