12-27-2024, 07:28 PM
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.
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.