Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
Operating Systems
»
Embedded
»
Embedded - AVR
»
Q V2, FPC-AVR string handling
Free Pascal
Website
Downloads
Wiki
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Bugtracker
CCR Bugs
IRC channel
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
Using the Mouse Wheel to ...
by
jamie
[
Today
at 02:27:22 am]
How can one optimise inse...
by
y.ivanov
[
Today
at 01:13:27 am]
Advanced Records Initiali...
by
ASerge
[
Today
at 12:42:49 am]
Free Pascal Standards
by
marcov
[
Today
at 12:40:01 am]
Parsing Long string to sp...
by
JLWest
[August 13, 2022, 11:34:57 pm]
My confession - I am a Pa...
by
Ten_Mile_Hike
[August 13, 2022, 11:24:35 pm]
Forest and lumber jack to...
by
JuhaManninen
[August 13, 2022, 11:09:23 pm]
How to Add a MenuItem to ...
by
HeavyUser
[August 13, 2022, 09:28:25 pm]
[SOLVED] Bottom sliding ...
by
Pe3s
[August 13, 2022, 09:28:12 pm]
problem install lamw4 lin...
by
microb
[August 13, 2022, 09:22:16 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Q V2, FPC-AVR string handling (Read 2706 times)
pascalbythree
Full Member
Posts: 110
Q V2, FPC-AVR string handling
«
on:
December 11, 2021, 02:41:41 pm »
Does anybody know what unit i have to use for FPC-AVR to do string handling?
I need for example inttostr
But it does not compile.
Anybody knows what to include ?
Greets, Wouter
Logged
ccrause
Hero Member
Posts: 592
Re: Q V2, FPC-AVR string handling
«
Reply #1 on:
December 11, 2021, 05:24:20 pm »
IntToStr
is part of the SysUtils unit, which is not yet available for AVR. You can use
Str
which is part of the system unit:
Code: Pascal
[Select]
[+]
[-]
var
s
:
shortstring
;
begin
Str
(
1234
,
s
)
;
Logged
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
Operating Systems
»
Embedded
»
Embedded - AVR
»
Q V2, FPC-AVR string handling
TinyPortal
© 2005-2018