Sign in Join

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

Mailing lists / fpc-pascal

fpc-pascal · 2016-02

  1. Updated Lexical Diagrams

    I've posted the first copy of my pascal lexical diagrams: http://www.getlazarus.org/learn/language/lexical/ It's totally incomplete, there is a heck of a lot missing,…

    Anthony Walter, Graeme Geldenhuys, silvioprog
    3
  2. [PATCH] TFPSMap.Find can't find an item when the second key is bigger than first one

    Issue ID: #29575 <http://bugs.freepascal.org/view.php?id=29575>. Thank you! PS. Please delete the wrong attached patch…

    silvioprog
    0
  3. [ISSUE] Access Violation in a fpcunitproject1 using the heaptrc unit

    Issue ID: #29558 <http://bugs.freepascal.org/view.php?id=29558>. Thank you! Silvio Clécio

    silvioprog
    0
  4. New feature: IfThen() intrinsic

    Hello together! I've finally come around to add a feature that many people have asked for throughout the years: an inline if that works like the if-statement in that it…

    Sven Barth, Alexandrov Alexandru, Anthony Walter
    119
  5. Re: New feature: IfThen() intrinsic

    No, the second is always better because safer. x := iif (Obj = nil, 0, Obj.Value); This will raise access violation as a normal function or you depend on compiler…

    Serguei TARASSOV, Andreas Berger, Dmitry Boyarintsev
    36
  6. Re: New feature: IfThen() intrinsic

    For expressions it is clearly documented. Is it documented for functions calling? I never saw such conventions. It may be a side effect of parsing but not a standard.…

    Serguei TARASSOV, Sven Barth
    1
  7. Re: New feature: IfThen() intrinsic

    You confuse left-to-right operator's precedence with function arguments evaluation. Serguei

    Serguei TARASSOV, Andreas Berger, Marco van de Voort
    6
  8. Re: fpc-pascal Digest, Vol 140, Issue 27

    The first tile in my life I see such strange definition of expression :) Please, use more generic notions. As I said, "return" statement is a good example. The…

    Serguei TARASSOV
    0
  9. Re: New feature: IfThen() intrinsic

    These products (remember Excel too) use managed code. Also, in SQL Server/FB/Access the functions are integrated into declarative language. The calculating order of…

    Serguei TARASSOV
    0
  10. Re: New feature: IfThen() intrinsic

    I suppose, because of dependence on argument's order processing, isn't it? - programmer must remember this dependency - every compiler must follow this dependency - in…

    Serguei TARASSOV
    0
  11. Re: New feature: IfThen() intrinsic

    ??? iif is a new statement "inline if". It contains other statements "then" "else" It returns a value like an assignment statement ":=" in Pascal or "return" in C-like…

    Serguei TARASSOV, Michael Van Canneyt, Sven Barth
    3
  12. buggy debian package

    Debian has a FPC 3.0.0 package called "rc-buggy". https://packages.debian.org/search?keywords=fpc&searchon=names&suite=all&section=all Is it just me, or does "buggy"…

    Mattias Gaertner, Jonas Maebe
    3
  13. Pascal Lexical Diagrams

    I've been working on writing Javascript to generate lexical language diagrams for the getlazarus.org learning center portal. With my script I'm able to render these…

    Anthony Walter, Dmitry Boyarintsev, Ewald
    32
  14. Running fpcmake, lazarus and fpc 3.0.0

    When building release versions of lazarus programs I use build scripts that build both linux and windows targets on the same system using the fpcross compiler (from…

    Tony Whyman, Jonas Maebe
    1
  15. Re: New feature: IfThen() intrinsic

    I'm not afraid about existing uses of Math.IfThen ou StrUItils.IfThen because they will hide System.IfThen. However, existing semantic of IfThen doesn't allow…

    Serguei TARASSOV
    0