fpc-pascal
Subscribe to this list Your subscription
Latest threads
- Nice const array messages. Thanks!0
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…
- Recovering info from a backtrace with an external debug file6
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…
- EDatabaseError on SELECT9
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…
- Format and Cardinal3
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…
- Re: FPC and SSH (Mark Morgan Lloyd)0
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…
- FPC and SSH2
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…
- IfThen() intrinsic removed43
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
- Ararat Synapse UDP Rx Speed (Mbps)4
Does anyone have any benchmark speed tests using Synapse to receive UDP data ? (ie Mbps transfer). Thanks View this message in context:…
- Re: if-then-else expression2
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…
- Re: if-then-else expression3
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…
- The IfThen() thread is now closed1
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…
- Re: if-then-else expression16
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
- Re: New feature: IfThen() intrinsic11
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…
- Error compiling FPC trunk under Linux5
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…
- Updated Lexical Diagrams3
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,…
- [PATCH] TFPSMap.Find can't find an item when the second key is bigger than first one0
Issue ID: #29575 <http://bugs.freepascal.org/view.php?id=29575>. Thank you! PS. Please delete the wrong attached patch…
- [ISSUE] Access Violation in a fpcunitproject1 using the heaptrc unit0
Issue ID: #29558 <http://bugs.freepascal.org/view.php?id=29558>. Thank you! Silvio Clécio
- New feature: IfThen() intrinsic119
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…
- Re: New feature: IfThen() intrinsic36
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…
- Re: New feature: IfThen() intrinsic1
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.…
- Re: New feature: IfThen() intrinsic6
You confuse left-to-right operator's precedence with function arguments evaluation. Serguei
- Re: fpc-pascal Digest, Vol 140, Issue 270
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…
- Re: New feature: IfThen() intrinsic0
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…
- Re: New feature: IfThen() intrinsic0
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…
- Re: New feature: IfThen() intrinsic3
??? 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…
- buggy debian package3
Debian has a FPC 3.0.0 package called "rc-buggy". https://packages.debian.org/search?keywords=fpc&searchon=names&suite=all§ion=all Is it just me, or does "buggy"…
- Pascal Lexical Diagrams32
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…
- Running fpcmake, lazarus and fpc 3.0.01
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…
- Re: New feature: IfThen() intrinsic0
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…
- [ISSUE] Generic problem: function Iif<T> ... : Wrong number of parameters specified for call to "Iif$1"0
Issued as #29546 <http://bugs.freepascal.org/view.php?id=29546>. Thank you! Silvio Clécio
