甭查了,你想调用都调不了,人家编译器内建支持 像_LStrCat3,如果我没记错的话,应该是 var s, s1, s2: string; s := s1 + s2; 会调用它_LStrAsg没印象,system.pas里写的是 This function is used when assigning to global variables. Literals are copied to prevent a situation where a dynamically allocated DLL or package assigns a literal to a variable and then is unloaded -- thereby causing the string memory (in the code segment of the DLL) to be removed -- and therefore leaving the global variable pointing to invalid memory.
像_LStrCat3,如果我没记错的话,应该是
var s, s1, s2: string;
s := s1 + s2;
会调用它_LStrAsg没印象,system.pas里写的是
This function is used when assigning to global variables. Literals are copied to prevent a situation where a dynamically
allocated DLL or package assigns a literal to a variable and then
is unloaded -- thereby causing the string memory (in the code
segment of the DLL) to be removed -- and therefore leaving the
global variable pointing to invalid memory.