Icône du site Apprenez Delphi

Découvrez une manière obscure de renvoyer une valeur à partir d'une fonction dans un Delphi dans ce didacticiel d'apprentissage Delphi

Nom du résultat de la fonction (syntaxe obscure #5) - Delphi #154

In the previous Learn Delphi Video Tutorial series for beginners, we have learned some important details about string variables and how to declare or manipulate them in a Delphi program. We have also learned the differences between a function and a procedure. The previous tutorials didn’t just define such important elements in Delphi programming but also showed us an actual demonstration of how they work and how they are being programmed from scratch for a Delphi project.

Interestingly, in this new Learn Delphi video by Delphi MVP Alister Christie, we will be introduced to a brand new VCL windows development application. Alister will demonstrate how to return a value from a function in Delphi. However, this video will show us how to do such in an obscure way. According to the video, this might also cause some hard to spot bugs if you are not aware of it.

Quitter la version mobile