Sign in Join

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

Mailing lists

fpc-pascal

Subscribe to this list Your subscription

All words must match. Use "exact phrase", -word, -"phrase", from:name, from:"first last", list:fpc-devel, year:2011, before:2012-03, after:2010, in:subject.

Latest threads

  1. Nice const array messages. Thanks!

    I just noticed this really nice compiler feature. I don't know when it as added but it's really helpful. When defining const array like below the compiler will tell you…

    Anthony Walter
    0
  2. Recovering info from a backtrace with an external debug file

    I compiled a program with -Xg (generating an external debug info file *.dbg) And deployed the executable without the debug info When an exception occurs i get a…

    Luiz Americo Pereira Camara, Luca Olivetti, Martin
    6
  3. EDatabaseError on SELECT

    I'm posting here because this seams to be an issue with using sqldb, my SQL seams to be ok. I create a table and add a row to it, but when trying to read that same row…

    Felipe Monteiro de Carvalho, Michael Van Canneyt, Stephen Chrzanowski
    9
  4. Format and Cardinal

    Why does this trigger an range check exception: var lNum: Cardinal; lStr: string; begin lNum := High(Cardinal); lStr := Format('Num=%u', [lNum]); Format doesn't support…

    Felipe Monteiro de Carvalho, Jonas Maebe
    3
  5. Re: FPC and SSH (Mark Morgan Lloyd)

    Here's a link to the interface files I use for acting as an ssh client via libssh2. I've included my libcurl headers as well. There are two versions of each, one for…

    Seth Grover
    0
  6. FPC and SSH

    I've come across http://forum.lazarus.freepascal.org/index.php?topic=15935.0 which suggests that there are some interface files to allow an FPC program to act as a…

    Mark Morgan Lloyd, Graeme Geldenhuys
    2
  7. IfThen() intrinsic removed

    Hello together! The IfThen() intrinsic has been removed again. There will be *no* replacement in the foreseeable future. This is not up for discussion. Sven

    Sven Barth, Andreas, Bart
    43
  8. Ararat Synapse UDP Rx Speed (Mbps)

    Does anyone have any benchmark speed tests using Synapse to receive UDP data ? (ie Mbps transfer). Thanks View this message in context:…

    Brian, Jonas Maebe, Sven Barth
    4
  9. Re: if-then-else expression

    I see, and it is what I said many times: you wrap the if-statement into pseudo-function. This make no sense and will be source of programmer's errors. The simplest case…

    Serguei TARASSOV, Dmitry Boyarintsev, Jonas Maebe
    2
  10. Re: if-then-else expression

    Holy sh*t, ça continue ! :) Even if evaluation order will be assured and well documented, it doesn't make sense! Example : x := iif(Obj = nil, 0, Obj.Value); // Seems…

    Serguei TARASSOV, Dmitry Boyarintsev, silvioprog
    3
  11. The IfThen() thread is now closed

    I think that everyone has had ample opportunities to exchange their views on this topic, so it's now closed on this list. If you want to discuss it further, you can do…

    Jonas Maebe, Lukasz Sokol
    1
  12. Re: if-then-else expression

    And I just noticed that I sent this to fpc-devel instead of fpc-pascal... *sigh* So here it is again for fpc-pascal as well. Sven

    Sven Barth, Dmitry Boyarintsev, Flávio Etrusco
    16
  13. Re: New feature: IfThen() intrinsic

    Why make the things complex? Why create another "special case"? Look at the "iif" as an statement and the things will be simple. Disagreed. The principal difference…

    Serguei TARASSOV, John Lee, Jürgen Hestermann
    11
  14. Error compiling FPC trunk under Linux

    Hi! I'm trying to build FPC on linux x64, using makepack script, but I have Internal error 2007020810. Bellow the script output: /usr/bin/ppcx64 -Ur -Ur -Xs -O2 -n…

    Fabio Luis Girardi, Jonas Maebe, Sven Barth
    5
  15. 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
  16. [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
  17. [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
  18. 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
  19. 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
  20. 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
  21. 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
  22. 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
  23. 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
  24. 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
  25. 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
  26. 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
  27. 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
  28. 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
  29. 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
  30. [ISSUE] Generic problem: function Iif<T> ... : Wrong number of parameters specified for call to "Iif$1"

    Issued as #29546 <http://bugs.freepascal.org/view.php?id=29546>. Thank you! Silvio Clécio

    silvioprog
    0

Browse by month

2026
2025
2024
2023
2022
2021
2020
2019
2018
2017
2016
2015
2014
2013
2012
2011
2010
2009
2008
2007
2006
2005
2004
2003
2002
2001
2000
1999