Uncategorized

Unexpected Benefit of Inline Variables: Conditional Blocks Inline variables is one of the cool new feature coming in 10.3. The obvious huge use case is loop control variables, but I just discovered another great use case while reviewing some code.  procedure DoesSomething; var var1, var2: Integer; begin // use var1 {$IFDEF Something} // use var1 & var2 {$ENDIF Something} end; This is a pattern I see a lot, and it generates a hint on var2 being unused based on the current compiler directive status. [dcc32 Hi...

Posted by on in Blogs
Mentoring in the Community Learning your first programming language or expanding your knowledge base can be a daunting task.   As a developer who first learned C++ using C++Builder while in high school, I was ecstatic to hear about our Community Editions for C++Builder and Delphi back in July of 2018. This release made Delphi and C++Builder accessible to a greater number of developers, brand new and experienced, to see what this rich coding environment has to offer.   Computer programming isn’t a geeks and ne...
Learn How To Execute External Commands On Linux From An Auto Tables For RAD Server API Endpoint Auto Tables for RAD Server is an automated solution for generating a REST API for your database. However, in addition to that it supports defining custom methods for an endpoint. Inside of this custom method you can call external commands on Windows. You can also call external commands when the RAD Server instance is hosted on Linux using the code I will show here from StackOverFlow. Once you create your Endpoint in the Auto Tables Editor and the Endpoint is selected you can go to the Endp...
From Vision to UX Design with RAD Studio - Webinar Replay How do you make your great app ideas come to life quickly with the least amount of pain, frustration and wasted budget? The answer is by creating a solid development plan that follows the three stages of application prototyping: wireframing, prototyping and production. While pen and paper is still an option, utilizing digital tools makes you and your apps competitive and agile, and offers the clearest path to success.  Last week, I held a joined webinar with Cindy Zablockis (Twitter: @cind...
Introducing Inline Variables in the Delphi Language The Delphi language in 10.3 has a fairly core change in the way it allows far more flexibility in the declaration of local variables, their scope and lifetime. This is a change that breaks a key tenet of the original Pascal language, but offers a significant number of advantages, reducing unneeded code in several cases. Old Style Var Blocks  Since Turbo Pascal 1 and until now, following classic Pascal language rules, all local variable declarations had to be done in a var block written be...