Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Hey guys, riddle me this...
#3
https://qb64phoenix.com/qb64wiki/index.php/END

Notice the first syntax END %returncode%

It's always been an option for END.  Its usage is to return a control code at the program exit.

Program 1 has:
returncode =  SHELL ("foo.exe")

foo.exe has
END 123

when foo.exe ends, it reports that code (123) back to Program 1.
Reply


Messages In This Thread
Hey guys, riddle me this... - by Pete - 12-27-2024, 07:20 PM
RE: Hey guys, riddle me this... - by DSMan195276 - 12-27-2024, 07:26 PM
RE: Hey guys, riddle me this... - by SMcNeill - 12-27-2024, 07:28 PM
RE: Hey guys, riddle me this... - by Pete - 12-27-2024, 08:47 PM
RE: Hey guys, riddle me this... - by Pete - 12-27-2024, 09:18 PM
RE: Hey guys, riddle me this... - by Pete - 12-28-2024, 05:41 AM
RE: Hey guys, riddle me this... - by Kernelpanic - 12-28-2024, 06:52 PM



Users browsing this thread: 3 Guest(s)