Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal

fpc-pascal · 2021-08

  1. Hello, new Pascal programmer. had a question!

    I am a new programmer, and I thought I'd learn Pascal. I saw that with FreePascal, most users are using Lazarus. I don't want to use this and would rather work in the…

    joseph turco, Armin Linder, Bart
    26
  2. Example for unit paszlib

    Is there an example for the unit paszlib? This does not work: https://wiki.lazarus.freepascal.org/paszlib I have Lazarus 2.0.0 FPC 3.0.4 May be there are different…

    Rainer Stratmann, Michael Van Canneyt
    2
  3. Bookmark, TBookmarkStr, TBytes and BytesOf

    Hello: Freepascal 3.2.0. Windows 7-32bits TMyObject=class   private     fDset:TDataset;    function GetBookmark:TBookmarkStr; ... end; function…

    Santiago A., LacaK, Michael Van Canneyt
    8
  4. Raise exception in libray which will not halt host application

    is there way how to raise exception in library without using SysUtils? Now I call System.RunError() in case unexpected situation occurs in library (DLL), but this exits…

    LacaK, Michael Van Canneyt, Sven Barth
    6
  5. function const default argument

    Hello: Freepascal 3.2.0. Windows 7-32bits I have these functions: function F(const x:extended; const delta:extended=1E-8):extended; function G(const x:extended; const…

    Santiago A., Michael Van Canneyt, Ondrej Pokorny
    3
  6. Conditional compilation using {$IFOPT ...} and {$IF OPTION(...)}

    looking at https://www.freepascal.org/docs-html/prog/progsu126.html#x139-1400002.4.1 There is mentioned "OPTION(opt)" with comment: "evaluates to TRUE if a compiler…

    LacaK, Michael Van Canneyt
    1
  7. FreePascal inc file

    I tried to compile something that used "osunits.inc" on a Raspberry Pi. I couldn't find the file. Yes I installed fpc-source. Terry H.

    Terry A. Haimann
    0
  8. Better way to handle callback types

    FPC has a number of function pointer types and eventually will have another in "reference to" closures. This presents a problem of how the programmer can make a function…

    Ryan Joseph, Jonas Maebe, Michael Van Canneyt
    6
  9. Explicit Interface implementation and inheritance

    Why is interface implementation not inherited, if explicit implementation is used. Example. Here are interfaces: IAAA = interface procedure MethodA; end; IBBB =…

    Dmitry Boyarintsev, Jean SUZINEAU
    2
  10. How to get fpc and lazarus sources when svn has shut down?

    I have for many years been using an install script I wrote to install a complete freepascal/lazarus dev environment on Raspberry Pi devices. The script uses subversion…

    Bo Berglund, Bart, Christo Crause
    43
  11. How to use XMLCfg?

    Tried Laz2_XMLCfg unit. Result is «Project createxml raised exception class 'External SIGSEGV'. In file 'C:\lazarus\components\lazutils\laz2_xmlcfg.pas' at line 165:…

    Abuy, Vojtěch Čihák
    2
  12. FPC move to mantis completed

    After several technical issues (8 tries were needed to convert the FPC sources to git), the move from svn/mantis to gitlab has been completed. The FPC sources are now…

    Michael Van Canneyt
    0
  13. Old Mantis issue broken URL redirection

    URL redirection of old mantis issue to Gitlab  is not working https://bugs.freepascal.org/view.php?id=[issue id] redirects to…

    Zamrony P. Juhara, Michael Van Canneyt
    1