Subj : Re: MPL
To : IGNATIUS
From : GRYPHON
Date : Thu Jan 31 2019 07:20 pm
On 09/02/14, ignatius said the following...
ig> Gr> Ok, not sure if you realize this, but that line above, as quoted, is
ig> Gr> pretty annoying. It might translate well on your local host, but not
ig>
ig> Ok. I will remove it. Thanks for letting me know.
ig>
ig> Gr> I was able to get it to run as with that one modification. However,
ig> Gr> it does is display the oneline.lst file, since I don't have the ansi'
ig> Gr> to go along with it. Nor have you put any code in there for user
ig> Gr> interaction.
ig>
ig> What exactly did you do, and which line did you add the "foneline"
ig> variable to?
ig>
ig> Gr>
ig> Gr> I'm assuming, by looking at the code, that you want to be able to use
ig> Gr> lightbar to move up and down, and select one of the entries, yes?
ig>
ig> Yes. That's it exactly. 1) Display oneline.lst 2) allow the user to
ig> choose between leaving a "oneliner" (thus adding it to oneline.lst) or
ig> going to the main menu. That's it right there.
ig>
ig> Gr>
ig> Gr> All your code is doing right now, is after it reads the files and loa
ig> Gr> the variables, is that it calls the 'show()' function. And all that
ig> Gr> function does is display the oneh.ans file and then displays all the
ig> Gr> toneliner and twriter variables, then exits the program.
ig>
ig> Hmm. Yeah. That doesn't seem right. I can't recall if my un-modified
ig> source has that issue or not. Reapern66 actually tried to re-write the
ig> program. I'm not trying to place blame, but maybe he missed a few
ig> things? BTW, I originally wrote this program for Mystic 1.07.3. For the
ig> record, currently, I absolutely do not understand the "new" syntax.
ig>
ig> Gr>
ig> Gr> Maybe if you describe to me what you want it to do, I can help you o
ig> Gr> with it.
ig> Gr>
ig>
ig> Well, basically, like I said, it _should_ display oneline.lst and offer a
ig> choice between leaving a oneliner or going to the main menu.
ig> Thank you for taking the time to help me out. It's much appreciated.
Ok, so the choices are only leave a new oneliner, or to exit back to the main
menu? I see that you have it so that it calls the main menu with
menucmd('go','main'), which seems unnecessary. You could just exit out of the
app instead, right?
Let me see what I can do with it, and I'll let you know.
"No matter where you go, there you are!" - B. Bonzai