Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2008-11

Inttostr and strtoint functions give compile time errors.

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Peter Williams

Hi All,

I'm getting an error message with inttostr() function & strtoint() function giving me an error message (identifier not found). Which unit do I need to include to make these messages go away?

showmessage( 'Error [index(es) out of range]:' + #13 + // line 174 below
'current_x = ' + inttostr( current_x ) + #13 +
'current_y = ' + inttostr( current_y ) + #13 +
'new_direction = ' + inttostr( new_direction) + #13 +

                   'old_direction = ' + inttostr( old_direction) );
Unit1.pas(174,45) Error: Identifier not found "inttostr"
Unit1.pas(175,45) Error: Identifier not found "inttostr"
Unit1.pas(176,49) Error: Identifier not found "inttostr"
Unit1.pas(177,49) Error: Identifier not found "inttostr"
Unit1.pas(269,33) Error: Identifier not found "inttostr"
Unit1.pas(270,33) Error: Identifier not found "inttostr"
Unit1.pas(274,26) Error: Identifier not found "strtoint"
Unit1.pas(280,26) Error: Identifier not found "strtoint"
Unit1.pas(307) Fatal: There were 8 errors compiling module, stopping

Regards,
PEW ;-)))

Fond Regards, Peter Eric (aka 'pew') WILLIAMS from Hobart, Tasmania, Australia -- phone (03) 6236-9675 My free website is: http://pewtas.googlepages.com (or) http://tinyurl.com/yuyejs (please visit my free website and let me know what you think about it.) -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.lazarus.freepascal.org/pipermail/lazarus/attachments/20081113/2f8bdc32/attachment.html

Reply by email

Henry Vermaak
to Peter Williams

2008/11/13 Peter Williams :

Show quoted text 5 lines
Hi All, I'm getting an error message with inttostr() function & strtoint() function giving me an error message (identifier not found). Which unit do I need to include to make these messages go away?

uses sysutils; ?

henry

Reply by email