I just added a new section of code for the startup menu that I’m using. It is the three lines below about the help text. When I compile my story, I get a warning that the word ‘showHelp’ is undefined. I do have a proper functioning ‘help’ section. I have a feeling that the ‘showHelp’ line is incorrect but can’t find the solution. Any ideas about this out there?
RonG
/* check which keyword we got */
if ('about'.startsWith(kw))
{
/* they want the ABOUT information */
versionInfo.showAbout();
}
else if ('help'.startsWith(kw))
{
/* they want the HELP information */
versionInfo.showHelp();
}
else if ('restore'.startsWith(kw))
{
/* try restoring a game */
if (RestoreAction.askAndRestore())
{
/* we succeeded - proceed directly to the game */
return 2;
}
}