我想查LStrCat3这类的函数的用法,应该在哪里能查到呢?

ty263 2009-04-15 11:51:25
类似LStrCat3这类的函数的用法,LStrAsg等等..

请教,多些!
...全文
753 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
Seamour 2009-04-15
  • 打赏
  • 举报
回复
甭查了,你想调用都调不了,人家编译器内建支持
像_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.

16,746

社区成员

发帖
与我相关
我的任务
社区描述
Delphi 语言基础/算法/系统设计
社区管理员
  • 语言基础/算法/系统设计社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧