Leaderboard
Popular Content
Showing content with the highest reputation on 09/15/25 in Posts
-
New Delphi features in Delphi 13
Lars Fosdal replied to David Heffernan's topic in RTL and Delphi Object Pascal
I spent nearly a decade undoing my built-in left-pinky-shift uppercase reserved word habit, imbued during the pre-syntax-coloring years 🤣 However, I won't give up my if/then/else formatting, and I haven't found a formatter able to replicate it. So, I guess I don't miss that formatter. -
Indeed, 24 would have been expected, bat wasn't 24 some sort of secret Illuminati number? And 24 + 13 = 37 😲
-
New Delphi features in Delphi 13
david berneda replied to David Heffernan's topic in RTL and Delphi Object Pascal
Ah nice catch ! I personally like to abuse of blank lines, so I quickly see the problem because after the doX; my eyes expect a blank line. Also blank line after each end; (except if the next line is also an end; ) -
[Ann] TeeChart for RAD Studio 13 Florence released
david berneda posted a topic in Delphi Third-Party
Announcing the availability of the latest TeeChart VCL/FMX 2025.45 release with full RAD Studio 13 Florence (RX/DX/CX) support: steema.com/entry/634 #delphi #RADStudio13 #developers #programming #Delphi13 #charts #development #charting -
I can't understand why 37% (as of posting) don't want to add a couple new forums focused on AI. What could it possibly hurt to have a couple new forums? And separating it into two makes total sense to me as they are completely different aspects of AI. Oh well, difference of opinion is what makes a society I guess.
-
New Delphi features in Delphi 13
corneliusdavid replied to David Heffernan's topic in RTL and Delphi Object Pascal
I know at least part of this was sarcastic but just in case anyone really believes that, know that some (many?) of us have been plopped into projects written by others with either little coding skill, no sense of style, or hasn’t been warned about the maniac that might have to maintain their code. I’m nearing three years at a job where I’m maintaining and migrating hundreds of old Delphi 5 accounting programs up to Delphi 12. The millions of lines code are strangely formatted, and has been worked on by dozens of individuals who, at one time, called themselves programmers; there are dated comments back to 1997! I use the code formatter every day. -
Obviously, I also didn’t read what you wrote, and for that reason it’s working as expected. I think I won’t read anything from you, so I don’t break the system.
-
Since the announcement in the See What's Coming in RAD Studio 13 Florence webinar last Wednesday, where MMX Code Explorer was promoted as a replacement for the removed refactoring in Delphi, there have been more than 1200 downloads. With this number it is no surprise when some people encounter problems installing or using it. This is a short list of things that happened and hints how to avoid these problems. I expect this list to be extended over the next couple of days. Some people get a virus warning when downloading the zip file. This is the MD5 hash of MMX_Setup_16_0_8_59.zip to verify that your copy is the original one: c24ef7eb0d073a97541bd8e11494cdad Always use the recommended Install for me only option! The admin mode Install for all users is heavily broken and can lead to problems when uninstalling. If multiple users are sharing the same Delphi installation each one has to install its own copy of MMX Code Explorer. Don't set your Startup Desktop to <none>. While this worked in previous versions, the new V16 doesn't like it. The issue will be investigated.
-
New Delphi features in Delphi 13
dummzeuch replied to David Heffernan's topic in RTL and Delphi Object Pascal
What kind of strange formatting might that be? -
New Delphi features in Delphi 13
dummzeuch replied to David Heffernan's topic in RTL and Delphi Object Pascal
So if you get some source code to work on, you really go through it and add begin/end for every code block? I for one are definitely to lazy for that. -
New Delphi features in Delphi 13
Patrick PREMARTIN replied to David Heffernan's topic in RTL and Delphi Object Pascal
As Marco Cantu pointed out, the LSP Server does not always meet expectations. They are aware of this and are working on an overhaul. In the meantime, they have reactivated the previous version of Code Insight as an option in 13 Florence. Go to Tools / Options / Editor / Language / Delphi / Code audit to choose which one you want to use (in the 32 bits IDE or in the 64 bits IDE). -
RAD Studio 13 is available
Stéphane Wierzbicki replied to Lars Fosdal's topic in Delphi IDE and APIs
I'm happy to see that these numbers are now aligned. Make much sense. -
New Delphi features in Delphi 13
Attila Kovacs replied to David Heffernan's topic in RTL and Delphi Object Pascal
You are absolutely right, it's just nine steps backwards. Thank you for highlighting that. -
Hi Patrick PREMARTIN, SMARTSEARCH (a key concept in Data Science) should also be used in the PALETTE search box: "combo DB" should find TDBComboBox and TDBLookupComboBox!
-
New Delphi features in Delphi 13
Attila Kovacs replied to David Heffernan's topic in RTL and Delphi Object Pascal
it only took 10 years -
New Delphi features in Delphi 13
Rollo62 replied to David Heffernan's topic in RTL and Delphi Object Pascal
Ok, it has kindof strange infos too, like bugfix would be possible somehow. https://docwiki.embarcadero.com/RADStudio/Florence/en/Release_Notes#Launching_iOS_fails_with_PAServer_22 it doesn't say here either very clearly https://docwiki.embarcadero.com/PlatformStatus/en/Main_Page#Supported_Platforms_and_Operating_Systems Perhaps its not clearly noted, that there were any issues. For example at Delphi 12 it clearly stated that its not able to debug on iOS 17 devices, https://docwiki.embarcadero.com/PlatformStatus/en/Main_Page#cite_note-iOS17-2 Strange, why did they removed this note in Delphi 13? Maybe they intend to fix this in an early patch. -
There are a stunning 5.4% not using AI at all, hooray, brave men and ladies
-
New Delphi features in Delphi 13
Mark NZ replied to David Heffernan's topic in RTL and Delphi Object Pascal
I've tried this with AV tools a couple of times in the past, it was a waste of time, Embarcadero wasn't interested. -
New Delphi features in Delphi 13
Anders Melander replied to David Heffernan's topic in RTL and Delphi Object Pascal
Nah. Although I have no love for Russia, I have no beef with Kaspersky (and these days I trust the US just as little) and I've found that it's the one that works best for me. I'm using the free version, FWIW. -
New Delphi features in Delphi 13
Lars Fosdal replied to David Heffernan's topic in RTL and Delphi Object Pascal
I thought everyone had dropped Kaspersky by now. -
New Delphi features in Delphi 13
PeterPanettone replied to David Heffernan's topic in RTL and Delphi Object Pascal
I like the NameOf(T) compiler (magic) function. -
New Delphi features in Delphi 13
Anders Melander replied to David Heffernan's topic in RTL and Delphi Object Pascal
But at least you can not satisfy someone every time. -
New Delphi features in Delphi 13
Lars Fosdal replied to David Heffernan's topic in RTL and Delphi Object Pascal
What you really need, really depends on each person. You obviously can't satisfy everone every time. -
New Delphi features in Delphi 13
Lars Fosdal replied to David Heffernan's topic in RTL and Delphi Object Pascal
Let me moderate myself - I would have loved WebStencils 5-10-15 years ago, but now I work for a company that do advanced scalable web development, using the industry standards - which is not RADServer or WebStencils. WebStencils could be nice if you need a web UI for a Windows Service or similar, though. -
alternative to call parameter?
A.M. Hoornweg replied to pcoder's topic in Algorithms, Data Structures and Class Design
May I suggest "fluent interfaces" as an alternative to nested calls. Instead of using a record like a dumb data store that is only manipulated from the outside, you can put the methods that fiddle with the record's contents directly into the record itself and thus keep the code and the data closely together. Also, this enables one to use a so-called "fluent interface". Example: This is an example of a record that contains just one integer member, "data". In real life, you can make the record as complex as you want. type pMyrecord=^tMyRecord; tMyRecord=Record data:integer; Function Reset:pMyrecord; Function Add (x:integer):pMyrecord; Function Multiply (x:integer):pMyrecord; Function Divide (x:integer):pMyrecord; End; As you can see, all the methods in this record return a pointer, which simply points to the record itself. That is the "secret sauce" one needs to implement fluent interfaces. function tMyRecord.Add(x: integer): pMyrecord; begin data:=data+x; result:=@self; end; function tMyRecord.Divide(x: integer): pMyrecord; begin data:=data div x; result:=@self; end; function tMyRecord.Multiply(x: integer): pMyrecord; begin data:=data*x; result:=@self; end; function tMyRecord.Reset: pMyrecord; begin data:=0; result:=@self; end; Now the cool thing: All these methods can be concatenated and will be processed left-to-right. This produces very legible and compact code: procedure Test; var x:tmyrecord; begin x.reset.add(12).multiply(4).divide(2); end; (edit) Note that I didn't do a single heap allocation here, never manually passed the record as a parameter and never did a nested call. The data lives on the stack. If the record contains managed objects such as strings, these are disposed of automatically.