[fpc-pascal] What's wrong with Leave?

Виктор Матузенко vitek03 at gmail.com
Sun Apr 24 15:30:57 CEST 2022

The test program:

  {$IF Declared(Leave)} Leave; {$ENDIF}

The compilation error:

D:\data\temp>fpc -Mfpc leave_example.pas
                                                 Free Pascal Compiler
version 3.2.1 [2021/02/01] for i386
Copyright (c) 1993-2020 by Florian Klaempfl and others
Target OS: Win32 for i386
Compiling leave_example.pas
leave_example.pas(2,30) Error: Identifier not found "Leave"
leave_example.pas(4) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted
Error: D:\prog\FPC\fixes_3_2\bin\i386-Win32\ppc386.exe returned an
error exitcode

What's happening?

Victor Matuzenko (Виктор Матузенко)

More information about the fpc-pascal mailing list