TstringList奇怪错误,地址错误?
代码 mysl.count
鼠标放在 mysl 显示 mysl = ()
鼠标放在 mysl.count 显示 mysql.count = () //这应该是显示数字才对不知为什么显示成了(),是哪错误了?
//因为在类里面所以这样实例化,难道有问题?
initialization
mysl := TStringList.Create;
---------------------------
调试器检测到错误
---------------------------
工程 Project1.exe 检测到错误类 EAccessViolation, 错误信息: 'Access violation at address 00404DCC in module 'Project1.exe'. Read of address 0000002E'. 进程中止. 使用单步或运行继续运行.
---------------------------
确定 帮助(H)
---------------------------
[解决办法]
外星语言?