[fpc-devel] Might need some help with this one
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:
Sets or Clears Extended CTRL+C checking on DOS system
This is present for Compatibility with DOS systems. It has no effect
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.
More information about the fpc-devel