[fpc-devel] Might need some help with this one
Bart
bartjunk64 at gmail.com
Thu Nov 26 20:17:44 CET 2020
On Thu, Nov 26, 2020 at 6:52 PM Jonas Maebe via fpc-devel
<fpc-devel at lists.freepascal.org> wrote:
> "break" is probably a command that's recognised by the cmd shell.
Yes it is:
C:\Users\Bart>help break
Sets or Clears Extended CTRL+C checking on DOS system
This is present for Compatibility with DOS systems. It has no effect
under Windows.
If Command Extensions are enabled, and running on the Windows
platform, then the BREAK command will enter a hard coded breakpoint
if being debugged by a debugger.
> Try to
> execute the program as .\break or break.exe
Makes no difference whatsoever.
It does run, because you can set ExitCode and query errorlevel after execution.
--
Bart
More information about the fpc-devel
mailing list