简体   繁体   中英

E2003 Undeclared identifier: 'IntToStr'

Try to print index in popup of showmessage gives an compile time error.

[dcc32 Error] Unit.pas(57): E2003 Undeclared identifier: 'IntToStr' 

In my code I am using ShowMessage(IntToStr(J)); J is an integer.

您必须将SysUtils单元添加到调用单元的uses子句中。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM