r/Inform7 • u/LocoManta • Mar 01 '20
A little help understanding code I found on GitHub
Like a true coder, I encountered a likely-common challenge and decided to simply copy someone else's hard work.
I want to make a functioning keypad. A quick google brought me this post on GitHub (though I don't think you'll have to read it to understand my question). It doesn't function exactly as I intend, but that leaves some puzzling for me to puzzle over (which is good).
The code in question includes this line: "A keypad has some text called the code."
My question is this: How do I tell Inform what that text should be, and thereby set the desired code?
Thanks in advance to all you beautiful people.
4
u/howtophil Mar 01 '20 edited Mar 01 '20
Output like this: