Now that we have learned and probably mastered how to declare string variables in a Delphi program, it is always fascinating to encounter strange behavior that might cause some confusion. Strings are indeed special in many ways. Interestingly, in this video, Alison Christie will demonstrate how to generate some strange behavior when we return a string from a function in Delphi.
In this Learn Delphi video, Alister will show us some step-by-step procedures on how this strange bug-like behavior is generated in Delphi. It is also interesting to note that this strange behavior is also exhibited by variants and dynamic arrays. Feel free to watch the video above to learn more about Delphi and windows application development.