Delphi assembly calls-Collection of common programming errors
LStrClr
means Long String Clear. It is used to, well, clear a long string variable. In other words, when you write:
s := '';
then the compiler will generate a call to the runtime support function _LStrClr
. In Unicode Delphi it will be _UStrClr
where the U signifies UnicodeString
as opposed to AnsiString
.
There’s no official documentation for this because it is all private implementation detail. However, there is the source code for the Delphi RTL. If you refer to that, such calls are simple to understand.