Jump to content

Leaderboard


Popular Content

Showing content with the highest reputation on 06/16/24 in all areas

  1. Uwe Raabe

    Variable might not have been initialized

    Reading the code despite of its irritating formatting reveals the problem: WorkOrdersSelectedRow := WorkOrdersGrid.Selection.Top; if FWorkOrderManager.GetWorkOrderDataByIndex(WorkOrdersSelectedRow - 1, Data) then // evaluates file index FileIndex := ARow - 1; if (FileIndex < 0) or (FileIndex >= TWorkOrderData.FILE_DATA_SIZE) then Exit; FileIndex will not be initialized when the if clause fails. BTW, it also irritates that the compiler is charged guilty first.
  2. Hi Everyone, My name is Tim and have been using Pascal forever (among other languages) since the 90s. For a variety of reasons I've transitioned (/transitioning) into tutoring and mentoring, and have launched a YouTube channel dedicated to all things Delphi. My first video, "Starting an Adventure with Delphi," is here - In the future, I'm planning to cover a range of topics, including: - Building modern Delphi applications for FireMonkey - Essential data structures for Delphi developers - Tips for debugging those tricky Delphi problems I'm really passionate about keeping Delphi alive and well. Whether you're a complete beginner or a seasoned developer looking to brush up your skills, I hope you'll find something valuable on my channel. Let me know what you think - especially if you have any topic suggestions!
  3. Fellow Delphi developers, This is with great pleasure that we announce the immediate availability of HelpNDoc 9.3, an easy to use yet powerful help authoring tool producing CHM help files, responsive HTML 5 and mobile Websites, DocX and PDF manuals, Markdown documents, ePub and Kindle eBooks as well as Qt Help files from a single source. HelpNDoc is Free for personal use and evaluation purposes and is available at: https://www.helpndoc.com HelpNDoc 9.3 provides many new features and enhancements such as a Project Starter Kit Editor, a new Markdown template to generate GitHub wikis, enhanced image handling in library editor and much more... You can learn more about this update at: https://www.helpndoc.com/news-and-articles/2024-06-11-save-time-with-reusable-project-starter-kits-for-consistent-documentation-in-helpndoc-9.3/ Video of some of the new features in HelpNDoc 9.3: Download HelpNDoc now and use it for free for personal and evaluation purposes: https://www.helpndoc.com/download Follow our step-by-step video guides to learn how to use HelpNDoc: Best regards, John, HelpNDoc team. https://www.helpndoc.com
  4. Rollo62

    Variable might not have been initialized

    Yees, thats a nasty bug. Thats why I had choosen long time ago, to always add a proper scope around even the simplest lines. if FWorkOrderManager.GetWorkOrderDataByIndex(WorkOrdersSelectedRow - 1, Data) then begin // evaluates file index FileIndex := ARow - 1; end; IMHO that increases readability and avoid a lot of such hard to see errors. You're lucky here, that the compiler throwed a warning 🙂
  5. I've added HelpNDoc to the overall list of the survey https://forms.gle/xuFWpSrE5TDdordNA I somehow missed the documentation category, so I'll need to do a follow up, but still good to go out and vote for it overall.
  6. dummzeuch

    Variable might not have been initialized

    Which again highlights the value of a code formatter. I'm so used to that that I overlooked the if statement. 😞
  7. corneliusdavid

    Essential Delphi Addins survey

    Yes, you can manage, but you might be missing out on productivity features or tips for improving your code by not taking advantage of some of these tools, many of which are free.
  8. corneliusdavid

    Essential Delphi Addins survey

    There's a good collection of tools and plug-ins listed. There are a few I had not heard of and some I've only recently learned about through this forum. It's a good idea to periodically review the tools available and make sure they're used to their fullest potential. I'm looking forward to the webinar.
×