module for the choice of options in programs - Printable Version +- QB64 Phoenix Edition (https://qb64phoenix.com/forum) +-- Forum: QB64 Rising (https://qb64phoenix.com/forum/forumdisplay.php?fid=1) +--- Forum: Code and Stuff (https://qb64phoenix.com/forum/forumdisplay.php?fid=3) +---- Forum: Programs (https://qb64phoenix.com/forum/forumdisplay.php?fid=7) +---- Thread: module for the choice of options in programs (/showthread.php?tid=766) |
module for the choice of options in programs - euklides - 08-13-2022 A small module for the choice of options in your programs (key+mouse ok, but mouse wheel not in action here). Code: (Select All) 'Optionator ' by Euklides RE: module for the choice of options in programs - mnrvovrfc - 08-14-2022 What does "RESTART" do? What is to be done with "MOUVSOURI$" value? RE: module for the choice of options in programs - euklides - 08-14-2022 * Restart: begings the program again. Only a label... * 'Souriskey' is a sub I use in many time in my programs. I dit not change it especially here So: - "mouvsouri$" is not used in this program - the variable"wheel" if not used too here... RE: module for the choice of options in programs - mnrvovrfc - 08-15-2022 I didn't see "RESTART" in three other places in the program. My bad... I tested this on Linux but when I try to use one of the arrow keys it has the same effect as pressing escape key. I looked into the subroutine code and discovered "human" variable is set to one when a key is pressed, but farther up it's checked to see if it's non-zero for a press of escape. I changed the line with "if human > 0" but got the same result. Forgive me if this isn't finished. |