Menu

Waiter: Gimme one "Debug Menu", please !

I moving forward with the Menu Cleanup. Just figured some more detail about the JobQueue..

As easy as two lines.

AddCommand("do_breakpoint", opt inwhichDir, opt jobType, opt input, opt jobMode.flags);
if (jobQueue.HasCommandToRun()) Execute();

And wrote the documentation..

/*
  Descr:  Adds an already defined CMD to the JobQueue / sets Directory if not given.
  AddCommand("do_breakpoint", opt inwhichDir, opt jobType, opt input, opt jobMode.flags);
  if (jobQueue.HasCommandToRun()) Execute();

  Reference: 
  opt .jobType: jobCLI = 0 / "console" , jobGUI = 1 / "windows", jobShell = 2 / "shellexec", jobExtension = 3 / "lua or director", jobHelp = 4 / "htmlhelp", jobOtherHelp = 5 / "winhelp", jobGrep = 6 / (notNamed), jobImmediate = 7 / "immediate"}
  opt .jobInput: ""
  opt .jobFlags: jobForceQueue = 1, jobHasInput = 2, jobQuiet = 4, // 8 reserved for jobVeryQuiet,  jobRepSelMask = 48, jobRepSelYes = 16, jobRepSelAuto = 32, jobGroupUndo = 64
*/

And myJobqueue ? Playing DiabloIII, Execute(grinD)

Posted by Thorsten Kani 2016-07-01

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.