Is LongIntToStr Valid in MPascal ?

General discussion on mikroPascal PRO for PIC.
Post Reply
Author
Message
amfortas
Posts: 212
Joined: 18 Feb 2010 18:10

Is LongIntToStr Valid in MPascal ?

#1 Post by amfortas » 23 Jan 2016 07:44

Hi,

My previous topic resolved into LongIntToStr crashing when a new port pin RC6 and RC7 (Actually any pin) was added to a working program. I am converting a signed LongInt to string and LongIntToStr provides the correct answer.

However I cannot find a detailed description of LongIntToString in MikroPascal Code although it is recognised by the compiler.

Is LongIntToStr a safe conversion ?

Thanks,

Amfortas

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

Re: Is LongIntToStr Valid in MPascal ?

#2 Post by filip » 25 Jan 2016 08:53

Hi,

I believe you have found a solution on the other post.

Regards,
Filip.

amfortas
Posts: 212
Joined: 18 Feb 2010 18:10

Re: Is LongIntToStr Valid in MPascal ?

#3 Post by amfortas » 25 Jan 2016 11:00

Thanks Filp,

Yes, my LongInt destination string was too short.

regards,

AMFORTAS

Post Reply

Return to “mikroPascal PRO for PIC General”